moving email confiram
This commit is contained in:
@@ -132,20 +132,20 @@ def processattachment(rower, fileobj, title, uploadoptions,testing=False):
|
|||||||
if testing:
|
if testing:
|
||||||
print('Workout id = {workoutid}'.format(workoutid=workoutid))
|
print('Workout id = {workoutid}'.format(workoutid=workoutid))
|
||||||
|
|
||||||
if workoutid[0]:
|
# if workoutid[0]:
|
||||||
link = settings.SITE_URL+reverse(
|
# link = settings.SITE_URL+reverse(
|
||||||
therower.defaultlandingpage,
|
# therower.defaultlandingpage,
|
||||||
kwargs = {
|
# kwargs = {
|
||||||
'id':encoder.encode_hex(workoutid[0]),
|
# 'id':encoder.encode_hex(workoutid[0]),
|
||||||
}
|
# }
|
||||||
)
|
# )
|
||||||
|
#
|
||||||
if not testing:
|
# if not testing:
|
||||||
if therower.getemailnotifications and not therower.emailbounced:
|
# if therower.getemailnotifications and not therower.emailbounced:
|
||||||
email_sent = send_confirm(
|
# email_sent = send_confirm(
|
||||||
therower.user, title, link,
|
# therower.user, title, link,
|
||||||
uploadoptions
|
# uploadoptions
|
||||||
)
|
# )
|
||||||
|
|
||||||
return workoutid
|
return workoutid
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user