diff --git a/rowers/tasks.py b/rowers/tasks.py index 1f976181..2a5365fc 100644 --- a/rowers/tasks.py +++ b/rowers/tasks.py @@ -436,6 +436,9 @@ def handle_check_race_course(self, path = polygon_to_path(polygon,debug=debug) paths.append(path) + startsecond = 0 + endsecond = rowdata['time'].max() + # check how many times went through start polygon try: entrytimes,entrydistances = time_in_path(rowdata,paths[0],maxmin='max',getall=True) @@ -570,7 +573,7 @@ def handle_check_race_course(self, engine.dispose() # send email - handle_send_email_coursefail( + handle_sendemail_coursefail( useremail,userfirstname, )