This commit is contained in:
2000-Trek 2023-06-23 18:58:58 +02:00
parent 311dab3797
commit 48c8630f7e

View file

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