Mercurial > kallithea
changeset 3140:105a0374faa1 beta
admin, email test: fix test for test_email recipients
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 02 Jan 2013 13:56:40 +0100 |
parents | 99d32d5d70db |
children | a45191e7c7bb |
files | rhodecode/controllers/admin/settings.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/controllers/admin/settings.py Wed Jan 02 13:56:34 2013 +0100 +++ b/rhodecode/controllers/admin/settings.py Wed Jan 02 13:56:40 2013 +0100 @@ -336,7 +336,7 @@ .get_email_tmpl(EmailNotificationModel.TYPE_DEFAULT, body=test_email_body) - recipients = [test_email] if [test_email] else None + recipients = [test_email] if test_email else None run_task(tasks.send_email, recipients, test_email_subj, test_email_body, test_email_html_body)