From 1a9e19fa33ba75e310dafc85c67db5cd3d2d16f8 Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Fri, 4 Sep 2015 13:26:55 +0200 Subject: [PATCH] Fix comment subscription --- 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 c464b54..15df927 100644 --- a/app/services/processor.py +++ b/app/services/processor.py @@ -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 ")