Update variable name to be consistent

master
jowj 5 years ago
parent 6e6a51d445
commit c5fbfbaa91

@ -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")

Loading…
Cancel
Save