This commit is contained in:
2026-03-02 09:11:51 +00:00
parent 17957e03ee
commit 3835ae16b3
+2 -2
View File
@@ -44,12 +44,12 @@ def set_shutdown(time, now):
return
LAST_VALUE = time
print("[BS Shutdown] shutting down in " + str(time - now) + " seconds")
subprocess.run(["shutdown", "/s", "/t", str(time - now), " "])
subprocess.run(["shutdown", "-s", "-t", str(time - now)])
def remove_shutdown():
print("[BS Shutdown] Removed shutdown")
subprocess.run(["shutdown", "/a"])
subprocess.run(["shutdown", "-a"])
def update():
global LAST_VALUE