Skip to content

Commit

Permalink
Try and fix online but dormant mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Jbithell committed Mar 18, 2018
1 parent a18e300 commit 621a467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 621a467

Please sign in to comment.