b
This commit is contained in:
@@ -44,7 +44,7 @@ def set_shutdown(time, now):
|
|||||||
return
|
return
|
||||||
LAST_VALUE = time
|
LAST_VALUE = time
|
||||||
print("[BS Shutdown] shutting down in " + str(time - now) + " seconds")
|
print("[BS Shutdown] shutting down in " + str(time - now) + " seconds")
|
||||||
subprocess.run(["shutdown", "/s", "/t", (time - now), " "])
|
subprocess.run(["shutdown", "/s", "/t", str(time - now), " "])
|
||||||
|
|
||||||
|
|
||||||
def remove_shutdown():
|
def remove_shutdown():
|
||||||
|
|||||||
Reference in New Issue
Block a user