Skip to content

Commit d455130

Browse files
committed
Fixed get_excercise_sets
1 parent 76b5ee3 commit d455130

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

garminconnect/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,9 @@ def get_activities_by_date(self, startdate, enddate, activitytype):
338338

339339
def get_excercise_sets(self, activity_id):
340340
activity_id = str(activity_id)
341-
exercisesetsurl = f"{self.url_activity}{activity_id}/exerciseSets"
341+
exercisesetsurl = f"{self.url_activity}{activity_id}"
342342
self.logger.debug(
343-
f"Fetching exercise sets for activity_id {activity_id}")
343+
f"Fetching excercise sets for activity_id {activity_id}")
344344

345345
return self.fetch_data(exercisesetsurl)
346346

garminconnect/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- coding: utf-8 -*-
22
"""Python 3 API wrapper for Garmin Connect to get your statistics."""
33

4-
__version__ = "0.1.21"
4+
__version__ = "0.1.22"

0 commit comments

Comments
 (0)