NK files will show up as water
This commit is contained in:
@@ -1569,6 +1569,9 @@ def new_workout_from_file(r, f2,
|
|||||||
dosummary = (fileformat != 'fit' and 'speedcoach2' not in fileformat)
|
dosummary = (fileformat != 'fit' and 'speedcoach2' not in fileformat)
|
||||||
dosummary = dosummary or summary == ''
|
dosummary = dosummary or summary == ''
|
||||||
|
|
||||||
|
if 'speedcoach2' in fileformat and workouttype == 'rower':
|
||||||
|
workouttype = 'water'
|
||||||
|
|
||||||
if workoutsource is None:
|
if workoutsource is None:
|
||||||
workoutsource = fileformat
|
workoutsource = fileformat
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user