Update notifications.py

This commit is contained in:
Chris Hutchison 2018-04-22 14:07:12 -04:00 committed by GitHub
parent 368e650ef7
commit 6b5fc6bad0
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) body = self.format(thread, comment)
if thread["title"] is None: #if thread["title"] is None:
thread["title"] = "New comment" # thread["title"] = "New comment"
if uwsgi: if uwsgi:
uwsgi.spool({b"subject": thread["title"].encode("utf-8"), uwsgi.spool({b"subject": thread["title"].encode("utf-8"),