From 0ddd39de78c00af2a5d8c3c7b6337ad8a917df8c Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 12 Jun 2020 16:58:13 +0200 Subject: [PATCH] bug fix --- rowers/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rowers/tasks.py b/rowers/tasks.py index 68a33e89..1f976181 100644 --- a/rowers/tasks.py +++ b/rowers/tasks.py @@ -544,8 +544,8 @@ def handle_check_race_course(self, query = 'UPDATE rowers_virtualraceresult SET coursecompleted = 0, duration = "{duration}", distance = {distance}, workoutid = {workoutid}, startsecond = {startsecond}, endsecond = {endsecond}, points={points} WHERE id={recordid}'.format( recordid=recordid, duration=totaltime_sec_to_string(0), - distance=0), - points=0, + distance=0, + points=0.0, workoutid=workoutid, startsecond=startsecond, endsecond=endsecond,