Skip to content

Commit

Permalink
Fix home path issue on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
smithara committed Aug 21, 2019
1 parent 25559ad commit e35052c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viresclient/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
NRECORDS_LIMIT = 4320000 # = 50 days at 1Hz

# Store the config file in home directory
CONFIG_FILE_PATH = os.path.join(os.environ["HOME"], ".viresclient.ini")
CONFIG_FILE_PATH = os.path.join(os.path.expanduser("~"), ".viresclient,ini")

# Maximum selectable time interval ~25 years
MAX_TIME_SELECTION = timedelta(days=25*365.25)
Expand Down

0 comments on commit e35052c

Please sign in to comment.