forked from rDrama/rDrama
fddffd
parent
5533dbb466
commit
b1b9c6391d
|
@ -67,7 +67,9 @@ def post_id(pid, anything=None, v=None):
|
||||||
|
|
||||||
|
|
||||||
try: pid = int(pid)
|
try: pid = int(pid)
|
||||||
except: pid = int(pid, 36)
|
except:
|
||||||
|
try: pid = int(pid, 36)
|
||||||
|
except: abort(404)
|
||||||
|
|
||||||
post = get_post(pid, v=v)
|
post = get_post(pid, v=v)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue