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