We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6c1078 commit 036d40bCopy full SHA for 036d40b
1 file changed
src/utils/core/gpu_install.py
@@ -27,7 +27,7 @@ def fetch_gpu(log: Logger) -> str | None:
27
28
if lspci_out.returncode != 0:
29
raise SystemExit(["lspci"], lspci_out.returncode)
30
- except CalledProcessError as Err:
+ except (CalledProcessError, FileNotFoundError) as Err:
31
log.logger("e", f"{Err}. Command lspci failed to execute.")
32
return None
33
else:
0 commit comments