mirror of https://github.com/nicolargo/glances
fix: gpu - typo in exception name
P.S Discovered and fixed after 6 yrs :)pull/2396/head
parent
6bd7c067f5
commit
bce5d7e6df
|
@ -307,7 +307,7 @@ def get_device_name(device_handle):
|
|||
"""Get GPU device name."""
|
||||
try:
|
||||
return nativestr(pynvml.nvmlDeviceGetName(device_handle))
|
||||
except pynvml.NVMlError:
|
||||
except pynvml.NVMLError:
|
||||
return "NVIDIA"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue