diff --git a/client/bs_shutdown.py b/client/bs_shutdown.py index 1fb4958..4bf1b12 100644 --- a/client/bs_shutdown.py +++ b/client/bs_shutdown.py @@ -79,7 +79,8 @@ def update(): if (LAST_VALUE != 0): remove_shutdown() print("[BS Shutdown] New value") - set_shutdown(time, now) + if (time - now) < 1000: + set_shutdown(time, now) if __name__ == '__main__': while True: