File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313import garth
1414import requests
15- from garth .exc import HTTPError
16-
17- # Try to import additional garth exceptions
18- try :
19- from garth .exc import GarthException , GarthHTTPError
20- except ImportError :
21- # Fallback if GarthException doesn't exist
22- GarthException = Exception
23- try :
24- from garth .exc import GarthHTTPError
25- except ImportError :
26- GarthHTTPError = HTTPError
15+ from garth .exc import GarthException , GarthHTTPError
16+ from requests import HTTPError
2717
2818from .fit import FitEncoderWeight # type: ignore
2919
Original file line number Diff line number Diff line change 11[project ]
22name = " garminconnect"
3- version = " 0.2.29 "
3+ version = " 0.2.30 "
44description = " Python 3 API wrapper for Garmin Connect"
55authors = [
66 {name = " Ron Klinkien" , email = " ron@cyberjunky.nl" },
You can’t perform that action at this time.
0 commit comments