Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
Signed-off-by: Ariel Otilibili <[email protected]>
  • Loading branch information
ariel-anieli committed Nov 8, 2024
1 parent b537f45 commit 2711644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glances/plugins/gpu/cards/nvidia.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# Avoid importing pynvml if NVML_LIB is not installed
from ctypes import CDLL

if (sys.platform[:3] == "win"):
if sys.platform[:3] == "win":
try:
CDLL(os.path.join(os.getenv("WINDIR", "C:/Windows"), "System32/nvml.dll"))
except OSError:
Expand Down

0 comments on commit 2711644

Please sign in to comment.