diff --git a/run_page/generator/__init__.py b/run_page/generator/__init__.py index d1d36a488e4..f0c31fc0eff 100644 --- a/run_page/generator/__init__.py +++ b/run_page/generator/__init__.py @@ -46,6 +46,10 @@ def check_access(self): print("Access ok") def sync(self, force): + """ + Sync activities means sync from strava + TODO, better name later + """ self.check_access() print("Start syncing") @@ -68,6 +72,7 @@ def sync(self, force): activity.map.summary_polyline = filter_out( activity.map.summary_polyline ) + activity.subtype = activity.type created = update_or_create_activity(self.session, activity) if created: sys.stdout.write("+")