From c5fbfbaa91b88530d80611bd6ddc423f01e01d59 Mon Sep 17 00:00:00 2001 From: jowj Date: Sat, 1 Dec 2018 19:16:47 -0600 Subject: [PATCH] Update variable name to be consistent --- arke.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")