Browse Source

db commit

master
Lynne Megido 1 year ago
parent
commit
e7c8b62ffd
Signed by: Lynne <thecoolone3@gmail.com> GPG Key ID: FB7B970303ACE499
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      run.py

+ 2
- 0
run.py View File

@@ -52,4 +52,6 @@ for row in dc.fetchall():
if tbc > int(cfg['max_time_between_checks']):
tbc = cfg['max_time_between_checks']
c.execute("UPDATE data SET last_check = %s, time_between_checks = %s", (t, tbc))

db.commit()

Loading…
Cancel
Save