Private
Public Access
1
0

bug fixes

This commit is contained in:
Sander Roosendaal
2018-06-08 09:35:11 +02:00
parent dcb207fb20
commit 15f489e086
4 changed files with 55 additions and 15 deletions

View File

@@ -748,9 +748,8 @@ def fetchcp(rower,theworkouts,table='cpdata'):
# create a new workout from manually entered data
def create_row_df(r,distance,duration,startdatetime,
title = 'Manually added workout',notes='',
workouttype='rower'):
def create_row_df(r,distance,duration,startdatetime,workouttype='rower'):
nr_strokes = int(distance/10.)
@@ -808,10 +807,10 @@ def create_row_df(r,distance,duration,startdatetime,
row.write_csv(csvfilename, gzip = True)
id, message = save_workout_database(csvfilename, r,
title=title,
notes=notes,
# title=title,
# notes=notes,
dosmooth=False,
workouttype=workouttype,
# workouttype=workouttype,
consistencychecks=False,
totaltime=totalseconds)