Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mads Dyrmann committed Dec 4, 2018
1 parent 88e81ac commit 4da9722
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions GPUtil/GPUtil.py
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -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',
Expand Down

0 comments on commit 4da9722

Please sign in to comment.