db commit
This commit is contained in:
parent
ce5c77aefb
commit
e7c8b62ffd
1 changed files with 2 additions and 0 deletions
2
run.py
2
run.py
|
@ -53,3 +53,5 @@ for row in dc.fetchall():
|
|||
tbc = cfg['max_time_between_checks']
|
||||
c.execute("UPDATE data SET last_check = %s, time_between_checks = %s", (t, tbc))
|
||||
|
||||
db.commit()
|
||||
|
||||
|
|
Loading…
Reference in a new issue