bug fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user