From 5ad85c077c4db6d2f6f3614b466800cd4b049b00 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 12 Jun 2020 17:10:02 +0200 Subject: [PATCH] goof --- rowers/tasks.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, )