diff --git a/nxt/constants.py b/nxt/constants.py index c9f984b..5146109 100644 --- a/nxt/constants.py +++ b/nxt/constants.py @@ -35,7 +35,7 @@ class GRAPH_VERSION(object): if USER_DIR_ENV_VAR in os.environ: USER_DIR = os.environ.get(USER_DIR_ENV_VAR) else: - USER_DIR = os.path.expanduser(os.path.join('~', 'nxt')) + USER_DIR = os.path.expandvars(os.path.join('$USERPROFILE/nxt')) SITE_DIR = USER_DIR if SITE_DIR_ENV_VAR in os.environ: