diff --git a/main.py b/main.py index 66e5d7f..dc9e988 100644 --- a/main.py +++ b/main.py @@ -12,7 +12,7 @@ def log(message): print(message) -if os.environ.get('onlineButDormant', False) == True: +if os.environ.get('onlineButDormant', False) == "True": while True: #onlineButDormant, if set, makes the device do nothing except log the statement below every 12 hours. To get in/out of this mode, set the env paramater and restart the container log("SleepMode for closure")