From 94eddbb4ac469ba9f77e40d8eed113104836053b Mon Sep 17 00:00:00 2001 From: longstone <2110765+longstone@users.noreply.github.com> Date: Tue, 20 Aug 2024 11:07:44 +0200 Subject: [PATCH] fix: make GARMIN_SESSION working --- withings_sync/garmin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/withings_sync/garmin.py b/withings_sync/garmin.py index 0c49564..ae5f455 100644 --- a/withings_sync/garmin.py +++ b/withings_sync/garmin.py @@ -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):