From 4da9722c1a954e001c15ad1f9deccc81492148ef Mon Sep 17 00:00:00 2001 From: Mads Dyrmann Date: Tue, 4 Dec 2018 16:14:09 +0100 Subject: [PATCH] Fix indentation --- GPUtil/GPUtil.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GPUtil/GPUtil.py b/GPUtil/GPUtil.py index b9f1fe0..95733bc 100644 --- a/GPUtil/GPUtil.py +++ b/GPUtil/GPUtil.py @@ -71,8 +71,8 @@ def getGPUs(): # could not be found from the environment path, # try to find it from system drive with default installation path nvidia_smi = spawn.find_executable('nvidia-smi') - if nvidia_smi is None: - nvidia_smi = "%s\\Program Files\\NVIDIA Corporation\\NVSMI\\nvidia-smi.exe" % os.environ['systemdrive'] + if nvidia_smi is None: + nvidia_smi = "%s\\Program Files\\NVIDIA Corporation\\NVSMI\\nvidia-smi.exe" % os.environ['systemdrive'] else: nvidia_smi = "nvidia-smi" diff --git a/setup.py b/setup.py index 61b7cc9..8050ec9 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name = 'GPUtil', packages = ['GPUtil'], - version = '1.3.0', + version = '1.3.1', description = 'GPUtil is a Python module for getting the GPU status from NVIDA GPUs using nvidia-smi.', author = 'Anders Krogh Mortensen', author_email = 'anderskroghm@gmail.com',