1
0
Fork 0
forked from bton/matekasse

/change except

This commit is contained in:
2000-Trek 2023-06-23 22:35:58 +02:00
parent 3412479856
commit c7fcd33a6b

View file

@ -153,7 +153,7 @@ def change():
try: try:
user_id = int(request.args.get("id")) user_id = int(request.args.get("id"))
change = int(request.args.get("change")) change = int(request.args.get("change"))
except ValueError: except:
return '<p>Error: 095</p><a href="/list">tags and user list</a>' return '<p>Error: 095</p><a href="/list">tags and user list</a>'
c.execute(f"SELECT * FROM users WHERE id={user_id}") c.execute(f"SELECT * FROM users WHERE id={user_id}")
users = c.fetchall() users = c.fetchall()