Private
Public Access
1
0

NK files will show up as water

This commit is contained in:
Sander Roosendaal
2020-03-01 11:30:52 +01:00
parent 9c76c3067c
commit 5477d8b1da

View File

@@ -1569,6 +1569,9 @@ def new_workout_from_file(r, f2,
dosummary = (fileformat != 'fit' and 'speedcoach2' not in fileformat)
dosummary = dosummary or summary == ''
if 'speedcoach2' in fileformat and workouttype == 'rower':
workouttype = 'water'
if workoutsource is None:
workoutsource = fileformat