Skip to content

Commit

Permalink
Fix incorrect parsing of CUDA_VISIBLE_DEVICES class property (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwilla7 authored and slochower committed Nov 24, 2019
1 parent 42f8e85 commit 33f16af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paprika/amber.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def executable(self, value):
@property
def CUDA_VISIBLE_DEVICES(self):
"""A wrapper around the environmental variable ``CUDA_VISIBLE_DEVICES``."""
return self._executable
return self._CUDA_VISIBLE_DEVICES

@CUDA_VISIBLE_DEVICES.setter
def CUDA_VISIBLE_DEVICES(self, value):
Expand Down

0 comments on commit 33f16af

Please sign in to comment.