From 78f756e3c2168162186649e8e2023c47f8a98621 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sun, 28 Apr 2019 12:34:19 +0200 Subject: [PATCH] some bugs fixed --- rowers/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rowers/tasks.py b/rowers/tasks.py index 388dc793..ff70925f 100644 --- a/rowers/tasks.py +++ b/rowers/tasks.py @@ -1032,7 +1032,7 @@ def handle_sendemail_breakthrough(workoutid, useremail, d = { 'first_name':userfirstname, 'siteurl':siteurl, - 'workoutid':encoder.encode_hex(int(workoutid)), + 'workoutid':encoder.encode_hex(workoutid), 'btvalues':tablevalues, } @@ -1468,7 +1468,7 @@ def handle_otwsetpower(self,f1, boattype, weightvalue, delta, cpvalues, ps[0], ps[1], ps[2], ps[3], ratio) if res: handle_sendemail_breakthrough( - workoutid, email, + encoder.decode_hex(workoutid), email, first_name, last_name, btvalues=btvalues.to_json())