From 7ee3c78b2e58460d660c72a9c341e1bd33753ecf Mon Sep 17 00:00:00 2001 From: justcool393 Date: Tue, 11 Oct 2022 22:51:04 -0700 Subject: [PATCH] ree --- files/routes/votes.py | 1 - 1 file changed, 1 deletion(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index 3732453938..18fc7ec85c 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -122,7 +122,6 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): # this is hacky but it works, we should probably do better later def get_vote_count(dir, real_instead_of_dir): votes = g.db.query(vote_cls) - votes = votes.filter_by(vote_type=dir) if real_instead_of_dir: votes = votes.filter_by(real=True) else: