Foppe Hemminga 5 tahun lalu
induk
melakukan
21698b3fc7
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      cron.py

+ 2 - 1
cron.py

@@ -86,7 +86,8 @@ def cron():
             AND player.property = ?;"""
         retrieved_properties = []
         for property in properties:
-            p_rows = cur.execute(query, (row['maintainer'], row['player'], property))
+            pprint((row['maintainer'], row['player'], property,))
+            p_rows = cur.execute(query, (row['maintainer'], row['player'], property,))
             for p_row in p_rows:
                 print(f"property: '{property}' parent: '{p_row['parent']}' -> value: '{p_row['value']}'")
                 retrieved_properties.append(property)