some bugs fixed
This commit is contained in:
@@ -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())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user