Skip to content

Commit

Permalink
fix: make GARMIN_SESSION working
Browse files Browse the repository at this point in the history
  • Loading branch information
longstone authored Aug 20, 2024
1 parent 0b83e1c commit 94eddbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion withings_sync/garmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
log = logging.getLogger("garmin")

HOME = os.getenv("HOME", ".")
GARMIN_SESSION = os.path.join(HOME, ".garmin_session")
GARMIN_SESSION = os.getenv('GARMIN_SESSION', os.path.join(HOME, ".garmin_session"))


class LoginSucceeded(Exception):
Expand Down

0 comments on commit 94eddbb

Please sign in to comment.