diff --git a/rowers/dataprep.py b/rowers/dataprep.py index 5aa8720d..8a13960f 100644 --- a/rowers/dataprep.py +++ b/rowers/dataprep.py @@ -2255,6 +2255,7 @@ def new_workout_from_df(r, df, boattype = parent.boattype notes = parent.notes summary = parent.summary + rpe = parent.rpe if parent.privacy == 'hidden': makeprivate = True else: @@ -2267,6 +2268,7 @@ def new_workout_from_df(r, df, notes = '' summary = '' makeprivate = False + rpe = 0 if startdatetime == '': startdatetime = timezone.now() @@ -2305,6 +2307,7 @@ def new_workout_from_df(r, df, inboard=inboard, makeprivate=makeprivate, dosmooth=False, + rpe=rpe, consistencychecks=False) job = myqueue(queuehigh,handle_calctrimp,id,csvfilename,r.ftp,r.sex,r.hrftp,r.max,r.rest) diff --git a/rowers/templates/splitworkout.html b/rowers/templates/splitworkout.html index b07c1a54..5c93f159 100644 --- a/rowers/templates/splitworkout.html +++ b/rowers/templates/splitworkout.html @@ -7,7 +7,7 @@ {% block main %}

Split Workout

- + {% localtime on %}
  • @@ -17,19 +17,19 @@ {{ form.as_table }} {% csrf_token %} - +

  • - + - + {{ thescript |safe }} - + {{ thediv |safe }} @@ -67,7 +67,7 @@

    - + {% endblock %}