remotes/1693176582716663532/tmp_refs/heads/watchparty
justcool393 2022-10-11 22:51:04 -07:00
parent ab6aaf5787
commit 7ee3c78b2e
1 changed files with 0 additions and 1 deletions

View File

@ -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: