Update server.py

This commit is contained in:
Justin 2023-02-04 16:23:48 +08:00 committed by GitHub
parent b8742000a3
commit a698caede4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,6 +407,7 @@ def restart():
def reset(): def reset():
os.system("sudo ./setup_config_files.sh") os.system("sudo ./setup_config_files.sh")
time.sleep(2)
os.system("sudo reboot now") os.system("sudo reboot now")
return index() return index()