remove base 36 crap

remotes/1693176582716663532/tmp_refs/heads/watchparty
justcool393 2022-11-14 10:10:16 -06:00
parent 4aedbc9b2e
commit d3aea510f8
1 changed files with 1 additions and 6 deletions

View File

@ -913,12 +913,7 @@ def remove_follow(username, v):
@cache.memoize(timeout=86400)
@limiter.exempt
def user_profile_uid(id):
try: id = int(id)
except:
try: id = int(id, 36)
except: abort(404)
x=get_account(id)
x = get_account(id)
return redirect(x.profile_url)
@app.get("/@<username>/pic")