forked from rDrama/rDrama
dffd
parent
782d6238b0
commit
81dc29d99a
|
@ -68,7 +68,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
|
||||||
if v and v.is_banned and not v.unban_utc: return render_template("seized.html")
|
if v and v.is_banned and not v.unban_utc: return render_template("seized.html")
|
||||||
|
|
||||||
try: cid = int(cid)
|
try: cid = int(cid)
|
||||||
except Exception as e: pass
|
except: cid = int(cid, 36)
|
||||||
|
|
||||||
comment = get_comment(cid, v=v)
|
comment = get_comment(cid, v=v)
|
||||||
|
|
||||||
|
|
|
@ -120,8 +120,8 @@ def api_vote_comment(comment_id, new, v):
|
||||||
|
|
||||||
new = int(new)
|
new = int(new)
|
||||||
|
|
||||||
try: uid = int(comment_id)
|
try: comment_id = int(comment_id)
|
||||||
except: uid = int(comment_id, 36)
|
except: comment_id = int(comment_id, 36)
|
||||||
|
|
||||||
comment = get_comment(comment_id)
|
comment = get_comment(comment_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue