adding workoutsource where forgotten
This commit is contained in:
@@ -846,7 +846,8 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
|
|||||||
pass
|
pass
|
||||||
return new_workout_from_df(r, newdf,
|
return new_workout_from_df(r, newdf,
|
||||||
title=title,boattype=boattype,
|
title=title,boattype=boattype,
|
||||||
workouttype=workouttype)
|
workouttype=workouttype,
|
||||||
|
workoutsource=workoutsource)
|
||||||
try:
|
try:
|
||||||
checks = row.check_consistency()
|
checks = row.check_consistency()
|
||||||
allchecks = 1
|
allchecks = 1
|
||||||
@@ -1403,7 +1404,7 @@ def new_workout_from_df(r, df,
|
|||||||
oarlength = parent.oarlength
|
oarlength = parent.oarlength
|
||||||
inboard = parent.inboard
|
inboard = parent.inboard
|
||||||
|
|
||||||
|
workoutsource = parent.workoutsource
|
||||||
workouttype = parent.workouttype
|
workouttype = parent.workouttype
|
||||||
boattype = parent.boattype
|
boattype = parent.boattype
|
||||||
notes = parent.notes
|
notes = parent.notes
|
||||||
@@ -1451,6 +1452,7 @@ def new_workout_from_df(r, df,
|
|||||||
workouttype=workouttype,
|
workouttype=workouttype,
|
||||||
boattype=boattype,
|
boattype=boattype,
|
||||||
title=title,
|
title=title,
|
||||||
|
workoutsource=workoutsource,
|
||||||
notes=notes,
|
notes=notes,
|
||||||
oarlength=oarlength,
|
oarlength=oarlength,
|
||||||
inboard=inboard,
|
inboard=inboard,
|
||||||
|
|||||||
Reference in New Issue
Block a user