Merge branch 'develop' into feature/stravaapi
This commit is contained in:
@@ -1578,6 +1578,13 @@ def new_workout_from_file(r, f2,
|
||||
# Get workout type from fit & tcx
|
||||
if (fileformat == 'fit'): # pragma: no cover
|
||||
workouttype = get_workouttype_from_fit(f2, workouttype=workouttype)
|
||||
new_title = get_title_from_fit(f2)
|
||||
if new_title:
|
||||
title = new_title
|
||||
new_notes = get_notes_from_fit(f2)
|
||||
if new_notes:
|
||||
notes = new_notes
|
||||
|
||||
# if (fileformat == 'tcx'):
|
||||
# workouttype_from_tcx = get_workouttype_from_tcx(f2,workouttype=workouttype)
|
||||
# if workouttype != 'rower' and workouttype_from_tcx not in mytypes.otwtypes:
|
||||
|
||||
Reference in New Issue
Block a user