Start: Fix gpu lib when reading from file
Readline doesn't strip out newlines or spaces. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
cdb96e4f74
commit
8bdc19124f
1 changed files with 1 additions and 1 deletions
2
start.py
2
start.py
|
|
@ -43,7 +43,7 @@ def get_install_features():
|
|||
saved_lib_path = pathlib.Path("gpu_lib.txt")
|
||||
if saved_lib_path.exists():
|
||||
with open(saved_lib_path.resolve(), "r") as f:
|
||||
lib = f.readline()
|
||||
lib = f.readline().strip()
|
||||
|
||||
# Assume default if the file is invalid
|
||||
if lib not in possible_features:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue