Fix comment subscription
This commit is contained in:
parent
1782537006
commit
d4dd8ac307
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def new_comment(data):
|
|||
mail(site.admin_email, subject, email_body)
|
||||
|
||||
# Reader subscribes to further comments
|
||||
if subscribe == 'true' and author_email:
|
||||
if subscribe and author_email:
|
||||
subscribe_reader(author_email, token, url)
|
||||
|
||||
logger.debug("new comment processed ")
|
||||
|
|
Loading…
Add table
Reference in a new issue