forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-07-30 10:42:00 +02:00
parent e14f46a7af
commit 0ac7b970cc
1 changed files with 3 additions and 1 deletions

View File

@ -47,9 +47,11 @@ def get_user(username, v=None, graceful=False):
def get_account(id, v=None):
user = g.db.query(User).filter_by(id = id).first()
print(id)
if not user:
try:
print(id)
id = int(id, 36)
print(id)
except: abort(404)