1
0
Fork 0
forked from bton/matekasse

Mehr print sachen

This commit is contained in:
2000-Trek 2023-06-09 18:59:07 +02:00
parent 4f50c13543
commit 76400286e6

View file

@ -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()