This commit is contained in:
2026-02-25 11:03:40 +00:00
parent 845a1c8494
commit 76e90450f8

View File

@@ -52,7 +52,7 @@ def update():
LAST_VALUE = time LAST_VALUE = time
subprocess.run(["shutdown", "/a"]) subprocess.run(["shutdown", "/a"])
print("new val detected") print("new val detected")
print("shutting down in " + (time - now) + " seconds") print("shutting down in " + str(time - now) + " seconds")
# subprocess.run(["shutdown", "/s", "/t", (time - now), " "]) # subprocess.run(["shutdown", "/s", "/t", (time - now), " "])
print(time - now) print(time - now)