Private
Public Access
1
0

should pass tests now

This commit is contained in:
Sander Roosendaal
2020-12-02 18:47:17 +01:00
parent 78c6bfb345
commit edb080f9b2
9 changed files with 116 additions and 51 deletions

View File

@@ -1572,7 +1572,6 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
if title is not None and len(title)>140:
title = title[0:140]
w = Workout(user=r, name=title, date=workoutdate,
workouttype=workouttype,
boattype=boattype,
@@ -1813,6 +1812,7 @@ def new_workout_from_file(r, f2,
workoutsource=None,
title='Workout',
boattype='1x',
rpe=-1,
makeprivate=False,
notes='',
uploadoptions={'boattype':'1x','workouttype':'rower'}):
@@ -1947,6 +1947,7 @@ def new_workout_from_file(r, f2,
dosummary=dosummary,
workoutsource=workoutsource,
summary=summary,
rpe=rpe,
inboard=inboard, oarlength=oarlength,
title=title,
forceunit='N',