Show More
@@ -336,7 +336,7 class SettingsController(BaseController) | |||||
336 | .get_email_tmpl(EmailNotificationModel.TYPE_DEFAULT, |
|
336 | .get_email_tmpl(EmailNotificationModel.TYPE_DEFAULT, | |
337 | body=test_email_body) |
|
337 | body=test_email_body) | |
338 |
|
338 | |||
339 |
recipients = [test_email] if |
|
339 | recipients = [test_email] if test_email else None | |
340 |
|
340 | |||
341 | run_task(tasks.send_email, recipients, test_email_subj, |
|
341 | run_task(tasks.send_email, recipients, test_email_subj, | |
342 | test_email_body, test_email_html_body) |
|
342 | test_email_body, test_email_html_body) |
General Comments 0
You need to be logged in to leave comments.
Login now