Update notifications.py

This commit is contained in:
Chris Hutchison 2018-04-22 15:47:44 -04:00 committed by GitHub
parent 03fd8b84f9
commit 694350243f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,8 +135,8 @@ class SMTP(object):
body = self.format(thread, comment)
#if thread["title"] is None:
# thread["title"] = "New comment"
if thread["title"] is None:
thread["title"] = "New comment"
if uwsgi:
uwsgi.spool({b"subject": thread["title"].encode("utf-8"),