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