1
0
Fork 0
forked from bton/matekasse

fix in /change

This commit is contained in:
2000-Trek 2023-06-09 22:47:58 +02:00
parent 90a3bea874
commit 1578fe14d2

View file

@ -85,6 +85,7 @@ def change():
change_text = change * -1
elif change > 0:
text = "added to"
change_text = change
elif change == 0:
return "<p>Nothing was done!</p>"
c.execute(f"SELECT * FROM users WHERE id={user_id}")