From 21d0adae54ceec9f71987ffa480d10845f94804d Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 31 Mar 2023 22:19:35 +0200 Subject: [PATCH] fix prev commit --- 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 d46f0d14a..4ce76c0db 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -175,7 +175,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): mul = 2 if target.body_html and target.sub != 'mnn' and target.author.id != 8768: x = target.body_html.count('" target="_blank" rel="nofollow noopener">') - x += target.body_html.count('') target.realupvotes += min(x*2, 20) mul += min(x/10, 1)