diff --git a/arke.py b/arke.py index 4cab95e..cddf68e 100644 --- a/arke.py +++ b/arke.py @@ -52,7 +52,7 @@ while is_on: errorFile = open("/shared/state.log", "w") errorText = key + " returned with status " + str(value) + "\n" errorFile.write(errorText) - errorFile.close() + errorFile.close() if stateChanged == True: errorFile = open("/shared/alerts.log", "w")