fix in /change
This commit is contained in:
parent
90a3bea874
commit
1578fe14d2
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -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}")
|
||||
|
|
Loading…
Reference in a new issue