remove now-unnecessary line relating to autoflush

pull/195/head
Aevann 2023-08-20 19:03:36 +03:00
parent 8097c16b55
commit a78157208e
1 changed files with 1 additions and 2 deletions

View File

@ -110,8 +110,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
else:
return 0
try: return votes.count()
except: abort(500)
return votes.count()
target.upvotes = get_vote_count(1, False)
target.downvotes = get_vote_count(-1, False)