@ -91,7 +91,10 @@ while is_on:
# track state
file = open("/shared/results.json", "r")
stateFile = open("/shared/state.log", "r")
if os.path.exists("/shared/state.log"):
else:
stateFile = open("/shared/state.log", "w+")
oldData = stateFile.read()
if oldData != file.read():