DB config

This commit is contained in:
Manuel Weiser 2024-05-11 11:27:05 +02:00
parent 0c91f41888
commit 4c8c344d21

View File

@ -46,7 +46,7 @@ def updateLast(db, cursor):
cursor.execute(sql) cursor.execute(sql)
row = cursor.fetchone() row = cursor.fetchone()
print("row:", len(row)) print("row:", row)
if row[0] < 1: if row[0] < 1:
insertNew(db, cursor) insertNew(db, cursor)