sd
This commit is contained in:
parent
f341fc27d7
commit
53b1a2f862
6 changed files with 7 additions and 25 deletions
|
@ -138,9 +138,7 @@ def api_vote_comment(comment_id, new, v):
|
|||
new = int(new)
|
||||
|
||||
try: comment_id = int(comment_id)
|
||||
except:
|
||||
try: comment_id = int(comment_id, 36)
|
||||
except: abort(404)
|
||||
except: abort(404)
|
||||
|
||||
comment = get_comment(comment_id)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue