##// END OF EJS Templates
fixed email prefix sent as None
marcink -
r2154:747c1c70 beta
parent child Browse files
Show More
@@ -328,7 +328,7 b' def send_email(recipients, subject, body'
328 DBS = get_session()
328 DBS = get_session()
329
329
330 email_config = config
330 email_config = config
331 subject = "%s %s" % (email_config.get('email_prefix'), subject)
331 subject = "%s %s" % (email_config.get('email_prefix', ''), subject)
332 if not recipients:
332 if not recipients:
333 # if recipients are not defined we send to email_config + all admins
333 # if recipients are not defined we send to email_config + all admins
334 admins = [u.email for u in User.query()
334 admins = [u.email for u in User.query()
General Comments 0
You need to be logged in to leave comments. Login now