fdfd
This commit is contained in:
parent
c33ac2998b
commit
2819786e2f
1 changed files with 2 additions and 2 deletions
|
@ -529,8 +529,8 @@ def user_profile(username):
|
||||||
@app.route("/uid/<uid>/pic/profile")
|
@app.route("/uid/<uid>/pic/profile")
|
||||||
@limiter.exempt
|
@limiter.exempt
|
||||||
def user_profile_uid(uid):
|
def user_profile_uid(uid):
|
||||||
try: uid = int(uid, 36)
|
try: uid = int(uid)
|
||||||
except: uid = int(uid)
|
except: uid = int(uid, 36)
|
||||||
x=get_account(uid)
|
x=get_account(uid)
|
||||||
return redirect(x.profile_url)
|
return redirect(x.profile_url)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue