working submission
This commit is contained in:
@@ -1343,6 +1343,7 @@ def remove_rower_race(r,race,recordid=None):
|
||||
|
||||
# Low Level functions - to be called by higher level methods
|
||||
def add_workout_indoorrace(ws,race,r,recordid=0):
|
||||
print('aap')
|
||||
result = 0
|
||||
comments = []
|
||||
errors = []
|
||||
@@ -1402,6 +1403,8 @@ def add_workout_indoorrace(ws,race,r,recordid=0):
|
||||
workoutid = ws[0].id
|
||||
)
|
||||
|
||||
print(record,records)
|
||||
|
||||
if not record:
|
||||
errors.append("Couldn't find this entry")
|
||||
return result,comments,errors,0
|
||||
@@ -1471,7 +1474,7 @@ def add_workout_indoorrace(ws,race,r,recordid=0):
|
||||
return result,comments,errors,0
|
||||
|
||||
|
||||
def add_workout_race(ws,race,r,splitsecond=0,recordid=0):
|
||||
def add_workout_race(ws,race,r,splitsecond=0,recordid=0,doregister=False):
|
||||
result = 0
|
||||
comments = []
|
||||
errors = []
|
||||
|
||||
Reference in New Issue
Block a user