Set comment id into email subject
This commit is contained in:
parent
033e0821b2
commit
8c1366ffaa
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ def new_comment(data):
|
||||||
|
|
||||||
# send email
|
# send email
|
||||||
# TODO subject should embed a key
|
# 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)
|
mail(site.admin_email, subject, email_body)
|
||||||
|
|
||||||
# TODO support subscription
|
# TODO support subscription
|
||||||
|
|
Loading…
Add table
Reference in a new issue