From e764daeee1061c1ccbfb0be555989ec1fc5373b4 Mon Sep 17 00:00:00 2001
From: Sander Roosendaal
This is still experimental and there are known bugs. Use at your own risk. Nothing is stored permanently until you hit Save on the summary above. You can use the restore original button to restore the original values.
+ +This is a quick way to enter the intervals using a special mini-language.
diff --git a/rowers/views.py b/rowers/views.py index 0b761670..8a7d3440 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -11961,7 +11961,11 @@ def workout_summary_edit_view(request,id,message="",successmessage="" rowdata.updateintervaldata(ivalues,iunits,itypes,iresults=iresults) intervalstats = rowdata.allstats() row.summary = intervalstats - row.notes += "\n"+s + try: + row.notes += "\n"+s + except TypeError: + pass + row.save() rowdata.write_csv(f1,gzip=True) dataprep.update_strokedata(id,rowdata.df)