forked from bton/matekasse
/change except
This commit is contained in:
parent
3412479856
commit
c7fcd33a6b
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -153,7 +153,7 @@ def change():
|
|||
try:
|
||||
user_id = int(request.args.get("id"))
|
||||
change = int(request.args.get("change"))
|
||||
except ValueError:
|
||||
except:
|
||||
return '<p>Error: 095</p><a href="/list">tags and user list</a>'
|
||||
c.execute(f"SELECT * FROM users WHERE id={user_id}")
|
||||
users = c.fetchall()
|
||||
|
|
Loading…
Reference in a new issue