a
This commit is contained in:
@@ -39,7 +39,7 @@ payload = {
|
||||
data = get_data()
|
||||
if data["noshutdown"] == 1:
|
||||
exit
|
||||
if data is NONE:
|
||||
if data is None:
|
||||
time = to_seconds(datetime.strptime(DEFAULT_SHUTDOWN, "%H:%M").time())
|
||||
else:
|
||||
time = to_seconds(datetime.strptime(data["time"], "%H:%M").time())
|
||||
|
||||
Reference in New Issue
Block a user