Download and parse data from Garmin Connect or a Garmin watch, FitBit CSV, and MS Health CSV files into and analyze data in Sqlite serverless databases with Jupyter notebooks.
GNU General Public License v2.0
1.18k
stars
142
forks
source link
Changing credential in config file does still download data from former credentials #135
Describe the bug
Changing credentials in GarminConnectConfig.json file appears that it somehow caches the token / credentials elsewhere, ignores the change in config file, and keeps downloading data from the original user that was first used to download the data.
To Reproduce
Steps to reproduce the behavior:
set credentials of user A in config file
run garmindb_cli.py to fetch data
change username and password for another garmin user in config file
run the script again to download data from a new user
the script downloads the very same data as before therefore from the former user, instead of the new user
Expected behavior
When I change user account in conf file the scripts should download data from that user and not some cached credentials/tokens
Describe the bug Changing credentials in GarminConnectConfig.json file appears that it somehow caches the token / credentials elsewhere, ignores the change in config file, and keeps downloading data from the original user that was first used to download the data.
To Reproduce Steps to reproduce the behavior:
Expected behavior When I change user account in conf file the scripts should download data from that user and not some cached credentials/tokens