Private
Public Access
1
0
This commit is contained in:
2024-12-11 21:25:14 +01:00
parent ed89647ade
commit 1e17be5cc9
2 changed files with 5 additions and 1 deletions

View File

@@ -150,6 +150,7 @@ class IntervalsIntegration(SyncIntegration):
def workout_export(self, workout, *args, **kwargs) -> str:
token = self.open()
dologging('intervals.icu.log', "Exporting workout {id}".format(id=workout.id))
filename = self.createworkoutdata(workout)
if not filename:
@@ -192,6 +193,8 @@ class IntervalsIntegration(SyncIntegration):
workout.save()
os.remove(filename)
dologging('intervals.icu.log', "Exported workout {id}".format(id=workout.id))
return id