Merge pull request #1504 from j9ac9k/use-getenv-correctly
Use os.getenv, not os.environ
This commit is contained in:
commit
a142bd6217
@ -469,7 +469,7 @@ def getTestDataRepo():
|
||||
"""
|
||||
global testDataTag
|
||||
|
||||
if os.environ["CI"]:
|
||||
if os.getenv("CI"):
|
||||
dataPath = os.path.join(os.environ["GITHUB_WORKSPACE"], '.pyqtgraph', 'test-data')
|
||||
else:
|
||||
dataPath = os.path.join(os.path.expanduser('~'), '.pyqtgraph', 'test-data')
|
||||
|
Loading…
Reference in New Issue
Block a user