forked from bton/matekasse
Mehr print sachen
This commit is contained in:
parent
4f50c13543
commit
76400286e6
1 changed files with 2 additions and 0 deletions
2
main.py
2
main.py
|
@ -128,7 +128,9 @@ def get_id():
|
||||||
print(tag_list)
|
print(tag_list)
|
||||||
if tag_list != []:
|
if tag_list != []:
|
||||||
tag = tag_list[0]
|
tag = tag_list[0]
|
||||||
|
print("aha")
|
||||||
if users.qsize() == 0:
|
if users.qsize() == 0:
|
||||||
|
print("wants to change")
|
||||||
c.execute(f"UPDATE users SET balance = balance - 1 WHERE id={tag[1]}")
|
c.execute(f"UPDATE users SET balance = balance - 1 WHERE id={tag[1]}")
|
||||||
print("changed")
|
print("changed")
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
|
Loading…
Reference in a new issue