fdfd
This commit is contained in:
parent
4a777a8c8a
commit
3ad9fdf93e
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ def get_account(id, v=None):
|
||||||
print(id)
|
print(id)
|
||||||
id = int(id, 36)
|
id = int(id, 36)
|
||||||
print(id)
|
print(id)
|
||||||
except: abort(404)
|
except Exception as e:
|
||||||
|
print(e)
|
||||||
|
abort(404)
|
||||||
user = g.db.query(User).filter_by(id = id).first()
|
user = g.db.query(User).filter_by(id = id).first()
|
||||||
if not user: abort(404)
|
if not user: abort(404)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue