Skip to content

Commit b2893af

Browse files
committed
use os.path.join
1 parent ef2ae0f commit b2893af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/desispec/io/meta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ def rawdata_root():
785785
if 'DESI_SPECTRO_DATA' in os.environ:
786786
return os.environ['DESI_SPECTRO_DATA']
787787
else:
788-
return os.path.expandvars('$DESI_ROOT/spectro/data')
788+
return os.path.join(os.environ['DESI_ROOT'], 'spectro', 'data')
789789

790790

791791
def specprod_root(specprod=None, readonly=False):

0 commit comments

Comments
 (0)