Forgot an s
This commit is contained in:
parent
5c2792c43e
commit
9945116ed0
2
views.py
2
views.py
|
@ -564,7 +564,7 @@ def add_comment(request, post_id, parent_id):
|
||||||
emails[email] = comment.author
|
emails[email] = comment.author
|
||||||
|
|
||||||
|
|
||||||
if post.author.email not in email:
|
if post.author.email not in emails:
|
||||||
emails[post.author.email] = post.author.first_name
|
emails[post.author.email] = post.author.first_name
|
||||||
|
|
||||||
if len(emails) > 0:
|
if len(emails) > 0:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user