a
This commit is contained in:
@@ -37,6 +37,7 @@ def to_seconds(t):
|
|||||||
return t.hour * 3600 + t.minute * 60 + t.second
|
return t.hour * 3600 + t.minute * 60 + t.second
|
||||||
|
|
||||||
def update():
|
def update():
|
||||||
|
global LAST_VALUE
|
||||||
data = get_data()
|
data = get_data()
|
||||||
if data["noshutdown"] == 1:
|
if data["noshutdown"] == 1:
|
||||||
exit
|
exit
|
||||||
|
|||||||
Reference in New Issue
Block a user