diff --git a/run.py b/run.py index dd47fe0..7435fab 100755 --- a/run.py +++ b/run.py @@ -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()