forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-07-30 07:54:18 +02:00
parent a46402a2c6
commit 6de6f3d189
1 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,8 @@ def api_vote_comment(comment_id, new, v):
new = int(new)
if isinstance(comment_id, str): comment_id = int(comment_id, 36)
comment = get_comment(comment_id)
# check for existing vote