Skip to content

Commit

Permalink
Define SuperTimezone and set to false if not running as Add On.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaddyTheShamrock authored Jul 31, 2023
1 parent ef1a59d commit e71f832
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def getInvDeets(HOST):
logger.critical("SUPERVISOR TOKEN does not exist")
isAddon=False
hasMQTT=False
SuperTimezone=False

if isAddon:
#Get MQTT Details
Expand Down Expand Up @@ -377,4 +378,4 @@ def getInvDeets(HOST):
logger.critical("Reboot requested... rebooting now")
os.remove("/app/.reboot")
exit()
sleep (60)
sleep (60)

0 comments on commit e71f832

Please sign in to comment.