Skip to content

Commit 89a253c

Browse files
committed
remove dup json file extension
1 parent 1533c54 commit 89a253c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

garmindb/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def get_activities(self, directory, count, overwite=False):
246246
activity_id_str = str(activity['activityId'])
247247
activity_name_str = conversions.printable(activity['activityName'])
248248
root_logger.info("get_activities: %s (%s)", activity_name_str, activity_id_str)
249-
json_filename = f'{directory}/activity_{activity_id_str}.json'
249+
json_filename = f'{directory}/activity_{activity_id_str}'
250250
if not os.path.isfile(json_filename) or overwite:
251251
root_logger.info("get_activities: %s <- %r", json_filename, activity)
252252
self.__save_activity_details(directory, activity_id_str, overwite)

0 commit comments

Comments
 (0)