/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:
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()