diff options
author | Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> | 2023-05-14 02:10:26 +0530 |
---|---|---|
committer | Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> | 2023-05-14 02:18:38 +0530 |
commit | bce5d7e6dfc95bf919bddab406fe4f461b9199dd (patch) | |
tree | 41c8707436b4afc067a9b4e35f402a9a72201e3b | |
parent | 6bd7c067f51809867ed5629ed9a6b0b1e8e912c3 (diff) |
fix: gpu - typo in exception name
P.S Discovered and fixed after 6 yrs :)
-rw-r--r-- | glances/plugins/glances_gpu.py | 2 |
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" |