From c5464129515a6c9edc2b55c1361d2825c405e9db Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 16 Dec 2022 22:40:16 +0200 Subject: [PATCH] fix bug due to bad syntax --- files/routes/votes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index c68460e2b..37f3bd924 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -166,7 +166,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): target.upvotes = get_vote_count(1, False) target.downvotes = get_vote_count(-1, False) - if SITE == 'rdrama.net' and target.realupvotes != 1: + if SITE == 'rdrama.net': target.realupvotes = get_vote_count(0, True) # first arg is ignored here mul = 1