should pass tests now
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user