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