Skip to content

Commit

Permalink
Update garmin.py: temp change to Garth USER_AGENT
Browse files Browse the repository at this point in the history
Fix for #171 (AssertionError)
  • Loading branch information
stynoo authored Nov 27, 2024
1 parent 26d2ccc commit 48ec376
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions withings_sync/garmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import os

import garth
# Temporary fix until Garth project merges https://github.com/matin/garth/issues/73
garth.http.USER_AGENT = {"User-Agent": ("GCM-iOS-5.7.2.1")}

log = logging.getLogger("garmin")

Expand Down

0 comments on commit 48ec376

Please sign in to comment.