Update notifications.py

pull/429/head
Chris Hutchison 6 years ago committed by GitHub
parent cc485a3b54
commit 368e650ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save