From 15aff9507ab6a91ad761256cde25436ff472fcc2 Mon Sep 17 00:00:00 2001 From: Justin Date: Mon, 17 Jul 2023 19:10:00 +0800 Subject: [PATCH] start stop display after features to display save prompt --- server.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server.py b/server.py index 95058c6..9f44295 100755 --- a/server.py +++ b/server.py @@ -1697,6 +1697,12 @@ def updateSelectedMsg(): return index() +@app.route("/savePromptStartStop", methods=["PUT", "POST"]) +def savePromptStartStop(): + stop() + time.sleep(0.1) + start() + return index() if __name__ == "__main__":