db commit

This commit is contained in:
Lynne Megido 2018-11-13 23:57:23 +10:00
부모 ce5c77aefb
커밋 e7c8b62ffd
로그인 계정: lynnesbian
GPG 키 ID: FB7B970303ACE499

2
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()