forked from rDrama/rDrama
fix 500 error
parent
dd60bff20e
commit
ae51fe812a
|
@ -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':
|
||||
if SITE == 'rdrama.net' and target.realupvotes != 1:
|
||||
target.realupvotes = get_vote_count(0, True) # first arg is ignored here
|
||||
|
||||
mul = 1
|
||||
|
|
Loading…
Reference in New Issue