Private
Public Access
1
0

smoothen+otwpower

This commit is contained in:
Sander Roosendaal
2016-11-28 09:39:24 +01:00
parent d4ed9419ae
commit fd518a854b
3 changed files with 8 additions and 1 deletions

View File

@@ -2041,6 +2041,7 @@ def workout_undo_smoothenpace_view(request,id=0,message="",successmessage=""):
row.df[' Stroke500mPace (sec/500m)'] = 500./velo
row.write_csv(filename)
dataprep.update_strokedata(id,row.df)
url = "/rowers/workout/"+str(id)+"/advanced"
@@ -2077,6 +2078,7 @@ def workout_smoothenpace_view(request,id=0,message="",successmessage=""):
row.df = row.df.fillna(0)
row.write_csv(filename)
dataprep.update_strokedata(id,row.df)
url = "/rowers/workout/"+str(id)+"/advanced"