Forgot an s
This commit is contained in:
parent
6aedd6f910
commit
fa497ae59a
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