DB config
This commit is contained in:
parent
f034ff9a61
commit
c91ac2486c
@ -46,9 +46,7 @@ def updateLast(db, cursor):
|
||||
cursor.execute(sql)
|
||||
row = cursor.fetchone()
|
||||
|
||||
print("row:", row[0])
|
||||
|
||||
if not row[0]:
|
||||
if not row:
|
||||
print("DB leer, lege neu an.")
|
||||
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user