fix bug due to bad syntax

pull/78/head
Aevann1 2022-12-16 22:40:16 +02:00
parent fdf8380659
commit c546412951
1 changed files with 1 additions and 1 deletions

View File

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