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