DB config
This commit is contained in:
parent
4c8c344d21
commit
dd224fdaa2
@ -46,8 +46,7 @@ def updateLast(db, cursor):
|
||||
cursor.execute(sql)
|
||||
row = cursor.fetchone()
|
||||
|
||||
print("row:", row)
|
||||
if row[0] < 1:
|
||||
if not row[0]:
|
||||
insertNew(db, cursor)
|
||||
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user