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

+ 2 - 0
cron.py

@@ -34,6 +34,7 @@ def send_notification(maintainer, player, property, old_value, new_value):
     conn.close()
 
 def update_value(maintainer, player, property, new_value):
+    print(f"update_value({maintainer}, {player}, {property}, {value})")
     query = """INSERT OR REPLACE INTO player (maintainer, player, property, value)
         VALUES (?, ?, ?, ?)"""
     conn = sqlite3.connect(settings.db_path + '/slork.sqlite')
@@ -43,6 +44,7 @@ def update_value(maintainer, player, property, new_value):
     conn.commit()
 
 def update_missing_value(maintainer, player, property, value):
+    print(f"update_missing_value({maintainer}, {player}, {property}, {value})")
     query = """INSERT OR REPLACE INTO player (maintainer, player, property, value)
         VALUES (?, ?, ?, ?);"""
     conn = sqlite3.connect(settings.db_path + '/slork.sqlite')