Skip to content

Commit

Permalink
Start: Fix when reading from gpu_lib file
Browse files Browse the repository at this point in the history
The wrong variable was being set, so fix that.

Signed-off-by: kingbri <[email protected]>
  • Loading branch information
bdashore3 committed Apr 13, 2024
1 parent 2a0aaa2 commit 4d158da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions start.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 4d158da

Please sign in to comment.