Skip to content

Commit

Permalink
BLD: fix the enviroment variable name to CATALYST_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
lenak25 committed Oct 28, 2018
1 parent 028cbc5 commit 86dd3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalyst/utils/paths.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Canonical path locations for catalyst data.
Paths are rooted at $ZIPLINE_ROOT if that environment variable is set.
Paths are rooted at $CATALYST_ROOT if that environment variable is set.
Otherwise default to expanduser(~/.catalyst)
"""
from errno import EEXIST
Expand Down Expand Up @@ -124,7 +124,7 @@ def catalyst_root(environ=None):
if environ is None:
environ = os.environ

root = environ.get('ZIPLINE_ROOT', None)
root = environ.get('CATALYST_ROOT', None)
if root is None:
root = os.path.join(expanduser('~'), '.catalyst')

Expand Down

0 comments on commit 86dd3e0

Please sign in to comment.