mirror of
https://github.com/lucaspalomodevelop/Party.git
synced 2026-03-13 08:09:37 +00:00
changes in db
This commit is contained in:
parent
b58a8e72d9
commit
e2dcb0d7f9
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user