Skip to content

Commit

Permalink
fix 变量取值
Browse files Browse the repository at this point in the history
  • Loading branch information
kvnZero committed Feb 29, 2024
1 parent 52cc59c commit c678bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ActivitySync.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ def syncData(username, password, garmin_email = None, garmin_password = None):
"upload_file_name": (sync_item["StartTime"]+'.fit', res.content, 'application/octet-stream')
})

activity = syncData(os.getenv("USERNAME"), os.getenv("PASSWORD"), os.getenv("GARMIN_PASSWORD"), os.getenv("GARMIN_PASSWORD"))
activity = syncData(os.getenv("USERNAME"), os.getenv("PASSWORD"), os.getenv("GARMIN_EMAIL"), os.getenv("GARMIN_PASSWORD"))

0 comments on commit c678bb0

Please sign in to comment.