Foppe Hemminga 5 년 전
부모
커밋
e7cb1c25a9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      cron.py

+ 1 - 0
cron.py

@@ -39,6 +39,7 @@ def update_value(maintainer, player, property, new_value):
     conn.row_factory = sqlite3.Row
     cur = conn.cursor()
     cur.execute(query, (maintainer, player, property, new_value))
+    conn.commit()
 
 def update_missing_value(maintainer, player, property, value):
     query = """INSERT OR REPLACE INTO player (maintainer, player, property, value)