DB config

This commit is contained in:
Manuel Weiser 2024-05-11 11:25:21 +02:00
parent 6819e54af2
commit b860e458c3

View File

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