소스 검색

[Bugfix] Getting closer

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

+ 1 - 1
cron.py

@@ -34,7 +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})")
+    print(f"update_value({maintainer}, {player}, {property}, {new_value})")
     query = """INSERT OR REPLACE INTO player (maintainer, player, property, value)
         VALUES (?, ?, ?, ?)"""
     conn = sqlite3.connect(settings.db_path + '/slork.sqlite')