Skip to content

Commit f721b8c

Browse files
committed
FIx logic
1 parent 5f3840f commit f721b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/accessvis/earth.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Settings():
4040

4141
# Check if running on 'gadi.nci.org.au'
4242
hostname = os.getenv('HOSTNAME', '')
43-
if 'gadi.nci.org.au' in hostname:
43+
if not DATA_PATH and 'gadi.nci.org.au' in hostname:
4444
project = os.getenv("PROJECT")
4545
user = os.getenv("USER")
4646
DATA_PATH = Path(f'/scratch/{project}/{user}/.accessvis')

0 commit comments

Comments
 (0)