doing summary if speedcoach summary == 0
This commit is contained in:
@@ -1319,7 +1319,7 @@ def new_workout_from_file(r, f2,
|
|||||||
return (0, message, '')
|
return (0, message, '')
|
||||||
|
|
||||||
dosummary = (fileformat != 'fit' and 'speedcoach2' not in fileformat)
|
dosummary = (fileformat != 'fit' and 'speedcoach2' not in fileformat)
|
||||||
|
dosummary = dosummary or summary == ''
|
||||||
|
|
||||||
id, message = save_workout_database(
|
id, message = save_workout_database(
|
||||||
f2, r,
|
f2, r,
|
||||||
|
|||||||
Reference in New Issue
Block a user