Foppe Hemminga 5 năm trước cách đây
mục cha
commit
5f74c11c3c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      cron.py

+ 2 - 2
cron.py

@@ -111,9 +111,9 @@ def cron():
                 if len(row) > 0:
                     parent = row['parent']
                 if (parent):
-                    value = player_json[parent][property]
+                    value = player_json[parent][item]
                 else:
-                    value = player_json[property]
+                    value = player_json[item]
                 print(f"item: {item} -> value: {value}")
                 update_missing_value(row['maintainer'], row['player'], item, value)
         time.sleep(1)