From 8c1366ffaa2fc06a5290615a2b8a44839434e39f Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Sat, 16 May 2015 18:23:40 +0200 Subject: [PATCH] Set comment id into email subject --- app/services/processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/processor.py b/app/services/processor.py index a5f083c..53fa818 100644 --- a/app/services/processor.py +++ b/app/services/processor.py @@ -87,7 +87,7 @@ def new_comment(data): # send email # TODO subject should embed a key - subject = '%s: %d' % (site.name, 1) + subject = '%s: [%d]' % (site.name, comment.id) mail(site.admin_email, subject, email_body) # TODO support subscription