diff --git a/arke.py b/arke.py index 3f81768..7809d57 100644 --- a/arke.py +++ b/arke.py @@ -26,9 +26,9 @@ while is_on: file = open("/shared/results.json", "r") oldData = file.read() if oldData == json_string: - changed = False + state = False else: - changed = True + state = True # old file removal must happen after state tracking: os.remove("/shared/results.json")