Mercurial > kallithea
changeset 2154:747c1c7040a8 beta
fixed email prefix sent as None
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 22 Mar 2012 02:29:43 +0200 |
parents | fa637dc3e029 |
children | 24d906650cc0 |
files | rhodecode/lib/celerylib/tasks.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/celerylib/tasks.py Thu Mar 22 01:45:58 2012 +0200 +++ b/rhodecode/lib/celerylib/tasks.py Thu Mar 22 02:29:43 2012 +0200 @@ -328,7 +328,7 @@ DBS = get_session() email_config = config - subject = "%s %s" % (email_config.get('email_prefix'), subject) + subject = "%s %s" % (email_config.get('email_prefix', ''), subject) if not recipients: # if recipients are not defined we send to email_config + all admins admins = [u.email for u in User.query()