Private
Public Access
1
0

Merge branch 'release/v3.79'

This commit is contained in:
Sander Roosendaal
2017-09-20 17:08:44 +02:00

View File

@@ -69,6 +69,15 @@ def handle_updatedps(useremail,workoutids,debug=False):
if havedata:
update_strokedata(wid,rowdata.df,debug=debug)
subject = "Rowsandall.com Your Distance per Stroke metric has been updated"
message = "All your workouts now have Distance per Stroke"
email = EmailMessage(subject, message,
'Rowsandall <info@rowsandall.com>',
[useremail])
res = email.send()
return 1
# send email when a breakthrough workout is uploaded