Skip to content

Commit

Permalink
fix parse_gpu_name.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pennybelle committed Aug 31, 2024
1 parent e730757 commit 959c46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pbfetch/parse_funcs/parse_gpu_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def parse_gpu():
gpu_name = command("lspci | grep -i nvidia")

if gpu_name:
gpu_name = gpu_name.split(":")[1]
gpu_name = gpu_name.split(": ")[1]
gpu_name = gpu_name.strip()
return gpu_name

Expand Down

0 comments on commit 959c46e

Please sign in to comment.