This commit is contained in:
Aevann1 2021-12-11 04:27:46 +02:00
parent c35f72f31e
commit 79d18747c1
8 changed files with 95 additions and 15 deletions

View file

@ -96,7 +96,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
comments=comments.filter(
Comment.parent_submission == post.id,
Comment.author_id != AUTOPOLLER_ID
Comment.author_id.notin_((AUTOPOLLER_ID, AUTOBETTER_ID))
).join(
votes,
votes.c.comment_id == Comment.id,