some bugs fixed
This commit is contained in:
@@ -1032,7 +1032,7 @@ def handle_sendemail_breakthrough(workoutid, useremail,
|
|||||||
d = {
|
d = {
|
||||||
'first_name':userfirstname,
|
'first_name':userfirstname,
|
||||||
'siteurl':siteurl,
|
'siteurl':siteurl,
|
||||||
'workoutid':encoder.encode_hex(int(workoutid)),
|
'workoutid':encoder.encode_hex(workoutid),
|
||||||
'btvalues':tablevalues,
|
'btvalues':tablevalues,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1468,7 +1468,7 @@ def handle_otwsetpower(self,f1, boattype, weightvalue,
|
|||||||
delta, cpvalues, ps[0], ps[1], ps[2], ps[3], ratio)
|
delta, cpvalues, ps[0], ps[1], ps[2], ps[3], ratio)
|
||||||
if res:
|
if res:
|
||||||
handle_sendemail_breakthrough(
|
handle_sendemail_breakthrough(
|
||||||
workoutid, email,
|
encoder.decode_hex(workoutid), email,
|
||||||
first_name,
|
first_name,
|
||||||
last_name, btvalues=btvalues.to_json())
|
last_name, btvalues=btvalues.to_json())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user