aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMads Kiilerich <madski@unity3d.com>2013-01-02 13:56:40 +0100
committerMads Kiilerich <madski@unity3d.com>2013-01-02 13:56:40 +0100
commitdeb92c486d79da4908fc5e81ebf54ba20e977a0e (patch)
tree2079e4e5cce79e8dd1541f4b5fd8e7a3426b67cc
parentc1089dc25c943618e723bf58f598d9bff90637b8 (diff)
admin, email test: fix test for test_email recipients
--HG-- branch : beta
-rw-r--r--rhodecode/controllers/admin/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhodecode/controllers/admin/settings.py b/rhodecode/controllers/admin/settings.py
index 32ba99a2..7d78f8e1 100644
--- a/rhodecode/controllers/admin/settings.py
+++ b/rhodecode/controllers/admin/settings.py
@@ -336,7 +336,7 @@ class SettingsController(BaseController):
.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)