瀏覽代碼

[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')