Foppe Hemminga hace 5 años
padre
commit
cdad6e0aed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cron.py

+ 1 - 1
cron.py

@@ -96,7 +96,7 @@ def cron():
                 else:
                     new_value = player_json[property]
                 print(f"p_row['value']: {p_row['value']} != new_value: '{new_value}'")
-                if p_row['value'] != new_value:
+                if str(p_row['value']) != str(new_value):
                     send_notification(row['maintainer'], row['player'], property, p_row['value'], new_value)
                     update_value(row['maintainer'], row['player'], property, new_value)
         new_properties = []