fix error on votes on localhost

pull/26/head
Aevann 2022-11-28 01:12:38 +02:00
parent e2cc1f9c80
commit 053ef9fd66
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,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_NAME == 'rDrama':
if SITE == 'rdrama.net':
target.realupvotes = get_vote_count(0, True) # first arg is ignored here
mul = 1