From 9d62d44bc47069d240cd0880647ad79b76425439 Mon Sep 17 00:00:00 2001 From: Namonay Date: Mon, 2 Mar 2026 09:32:26 +0000 Subject: [PATCH] d --- client/bs_shutdown.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/bs_shutdown.py b/client/bs_shutdown.py index 920fb38..542dd8b 100644 --- a/client/bs_shutdown.py +++ b/client/bs_shutdown.py @@ -66,6 +66,8 @@ def update(): time = to_seconds(datetime.strptime(DEFAULT_SHUTDOWN, "%H:%M").time()) else: time = to_seconds(datetime.strptime(data["time"], "%H:%M").time()) + print("Got :" + data) + print(time) now = to_seconds(datetime.now().time()) if (time - now) < 0: @@ -78,7 +80,6 @@ def update(): remove_shutdown() print("[BS Shutdown] New value") set_shutdown(time, now) - LAST_VALUE = time if __name__ == '__main__': while True: