Private
Public Access
1
0

bug fixes

This commit is contained in:
Sander Roosendaal
2022-08-18 20:00:04 +02:00
parent 3d4a6f845f
commit ec3c3c0b9a
2 changed files with 3 additions and 3 deletions

View File

@@ -1168,8 +1168,6 @@ def handle_calctrimp(id,
normw = response.normw
hrtss = response.hrtss
print('normalized power',normp)
if np.isnan(tss): # pragma: no cover
tss = 0
@@ -1699,6 +1697,9 @@ def handle_sendemail_breakthrough(workoutid, useremail,
'btvalues': tablevalues,
}
dologging('tasks.log',siteurl)
dologging('tasks.log',json.dumps(tablevalues))
_ = send_template_email(from_email, [useremail],
subject, 'breakthroughemail.html',
d, **kwargs)