1. mikespook
  2. RhodeCode

Commits

Marcin Kuzminski  committed 747c1c7

fixed email prefix sent as None

  • Participants
  • Parent commits fa637dc
  • Branches beta

Comments (0)

Files changed (1)

File rhodecode/lib/celerylib/tasks.py

View file
     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()