From 95c0634300ee25acf5d0fe83d23cdb131a0b8286 Mon Sep 17 00:00:00 2001 From: misyaguziya Date: Mon, 19 Aug 2024 12:28:46 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8D=EF=B8=8F[Update]=20Model=20:=20?= =?UTF-8?q?=E5=88=9D=E6=9C=9F=E5=8C=96=E5=87=A6=E7=90=86=E3=81=AE=E3=82=B9?= =?UTF-8?q?=E3=82=BF=E3=83=BC=E3=83=88/=E5=AE=8C=E4=BA=86=E3=82=92?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-python/webui_mainloop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src-python/webui_mainloop.py b/src-python/webui_mainloop.py index 79fa065e..485e5057 100644 --- a/src-python/webui_mainloop.py +++ b/src-python/webui_mainloop.py @@ -330,7 +330,9 @@ if __name__ == "__main__": match process: case "main": try: + print(json.dumps({"status":200, "endpoint": "/initialization/start", "result":True}), flush=True) controller.init() + print(json.dumps({"status":200, "endpoint": "/initialization/completed", "result":True}), flush=True) print(json.dumps({"status":348, "log": "Initialization from Python."}), flush=True) while True: main()