fi
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user