Private
Public Access
1
0

polishing

This commit is contained in:
Sander Roosendaal
2022-07-21 14:12:32 +02:00
parent 5504d663c2
commit f7a5a41b7c
2 changed files with 12 additions and 4 deletions

View File

@@ -1363,8 +1363,13 @@ def new_workout_from_file(r, f2,
if fileformat == 'att': # pragma: no cover
# email attachment which can safely be ignored
os.remove(f2)
return (0, '', f2)
if fileformat == 'quiskesummary':
os.remove(f2)
return (0,'',f2)
# Get workout type from fit & tcx
if (fileformat == 'fit'): # pragma: no cover
workouttype = get_workouttype_from_fit(f2, workouttype=workouttype)