Start: Fix when reading from gpu_lib file

The wrong variable was being set, so fix that.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2024-04-13 12:24:30 -04:00
parent 2a0aaa2e8a
commit 4d158dac90

View file

@ -45,9 +45,8 @@ def get_install_features(lib_name: str = None):
else:
# Try getting the GPU lib from file
if saved_lib_path.exists():
print(saved_lib_path)
with open(saved_lib_path.resolve(), "r") as f:
lib = f.readline().strip()
lib_name = f.readline().strip()
else:
# Ask the user for the GPU lib
gpu_lib_choices = {