From e2dcb0d7f975db0ebc7b4a2154dccfa655888790 Mon Sep 17 00:00:00 2001 From: hyperbel Date: Fri, 19 May 2023 17:09:31 +0200 Subject: [PATCH] changes in db --- database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.py b/database.py index 11d4b11..6a2b284 100644 --- a/database.py +++ b/database.py @@ -35,7 +35,7 @@ def mate_erstellen(): for mate in data: cur.execute('''INSERT INTO mate(mateid, matename, mateanzahl, kofein) VALUES(?, ?, ?, ?)''', - (mate['id'], mate['name'], mate['anzahl'], mate['koffein'])) + (mate['id'], mate['name'], mate['anzahl_pro_kasten'], mate['koffein'])) con.commit() cur.close() con.close()