Update variable name to be consistent

master
jowj 6 years ago
parent 6e6a51d445
commit c5fbfbaa91

@ -26,9 +26,9 @@ while is_on:
file = open("/shared/results.json", "r") file = open("/shared/results.json", "r")
oldData = file.read() oldData = file.read()
if oldData == json_string: if oldData == json_string:
changed = False state = False
else: else:
changed = True state = True
# old file removal must happen after state tracking: # old file removal must happen after state tracking:
os.remove("/shared/results.json") os.remove("/shared/results.json")

Loading…
Cancel
Save