Private
Public Access
1
0

some bugs fixed

This commit is contained in:
Sander Roosendaal
2019-04-28 12:34:19 +02:00
parent b4ad00332c
commit 78f756e3c2

View File

@@ -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())