summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com>2023-05-14 02:10:26 +0530
committerBharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com>2023-05-14 02:18:38 +0530
commitbce5d7e6dfc95bf919bddab406fe4f461b9199dd (patch)
tree41c8707436b4afc067a9b4e35f402a9a72201e3b
parent6bd7c067f51809867ed5629ed9a6b0b1e8e912c3 (diff)
fix: gpu - typo in exception name
P.S Discovered and fixed after 6 yrs :)
-rw-r--r--glances/plugins/glances_gpu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glances/plugins/glances_gpu.py b/glances/plugins/glances_gpu.py
index 342314af..dfb264f2 100644
--- a/glances/plugins/glances_gpu.py
+++ b/glances/plugins/glances_gpu.py
@@ -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"