mirror of
https://github.com/lucaspalomodevelop/Party.git
synced 2026-03-13 08:09:37 +00:00
Merge branch 'main' of https://github.com/Fingadumbledore/Party
This commit is contained in:
commit
eac4f0db2a
@ -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['konfein']))
|
||||
(mate['id'], mate['name'], mate['anzahl_pro_kasten'], mate['koffein']))
|
||||
con.commit()
|
||||
cur.close()
|
||||
con.close()
|
||||
@ -51,4 +51,4 @@ def create_db():
|
||||
conn.close()
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("Use main.py to use program")
|
||||
print("Use main.py to use program")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user