dfdf
This commit is contained in:
parent
676bef1190
commit
8884c53e93
1 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,9 @@ def get_account(id, v=None):
|
|||
user = g.db.query(User).filter_by(id = id).first()
|
||||
|
||||
if not user:
|
||||
try: id = int(id, 36)
|
||||
try:
|
||||
id = int(id, 36)
|
||||
print(id)
|
||||
except: abort(404)
|
||||
user = g.db.query(User).filter_by(id = id).first()
|
||||
if not user: abort(404)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue