first result working
This commit is contained in:
@@ -1514,6 +1514,7 @@ def add_workout_race(ws,race,r,splitsecond=0,recordid=0):
|
||||
return 0,comments,errors,0
|
||||
|
||||
if ws[0].workouttype != record.boatclass:
|
||||
print(ws[0].workouttype,record.boatclass)
|
||||
errors.append('Your workout boat class is different than on your race registration')
|
||||
return 0,comments,errors,0
|
||||
|
||||
@@ -1551,7 +1552,8 @@ def add_workout_race(ws,race,r,splitsecond=0,recordid=0):
|
||||
comments.append('Workouts submitted to virtual events have to be public. We have changed the workout to a public workout.')
|
||||
|
||||
job = myqueue(queue,handle_check_race_course,ws[0].csvfilename,
|
||||
ws[0].id,race.course.id,record.id,splitsecond=splitsecond)
|
||||
ws[0].id,race.course.id,record.id,splitsecond=splitsecond,
|
||||
referencespeed=record.referencespeed)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user