DB config

This commit is contained in:
Manuel Weiser 2024-05-11 11:41:01 +02:00
parent f034ff9a61
commit c91ac2486c

View File

@ -46,9 +46,7 @@ def updateLast(db, cursor):
cursor.execute(sql) cursor.execute(sql)
row = cursor.fetchone() row = cursor.fetchone()
print("row:", row[0]) if not row:
if not row[0]:
print("DB leer, lege neu an.") print("DB leer, lege neu an.")
else: else: