From c8bcf55cd57a1d72886c832f11adc546a7dbc5f3 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 26 Oct 2018 09:34:13 +0200 Subject: [PATCH] adding workoutsource where forgotten --- rowers/dataprep.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rowers/dataprep.py b/rowers/dataprep.py index 70537eeb..06005873 100644 --- a/rowers/dataprep.py +++ b/rowers/dataprep.py @@ -846,7 +846,8 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower', pass return new_workout_from_df(r, newdf, title=title,boattype=boattype, - workouttype=workouttype) + workouttype=workouttype, + workoutsource=workoutsource) try: checks = row.check_consistency() allchecks = 1 @@ -1403,7 +1404,7 @@ def new_workout_from_df(r, df, oarlength = parent.oarlength inboard = parent.inboard - + workoutsource = parent.workoutsource workouttype = parent.workouttype boattype = parent.boattype notes = parent.notes @@ -1451,6 +1452,7 @@ def new_workout_from_df(r, df, workouttype=workouttype, boattype=boattype, title=title, + workoutsource=workoutsource, notes=notes, oarlength=oarlength, inboard=inboard,