From ca649cf8c63e7461b2c96bdd9ad476ef2f44bed9 Mon Sep 17 00:00:00 2001 From: misyaguziya Date: Sun, 15 Sep 2024 17:49:29 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B[bugfix]=20Model=20:=20=E3=83=9E?= =?UTF-8?q?=E3=82=A4=E3=82=AF=E3=83=87=E3=83=90=E3=82=A4=E3=82=B9=E3=81=AE?= =?UTF-8?q?=E5=87=BA=E5=8A=9B=E5=BD=A2=E5=BC=8F=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-python/webui_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-python/webui_controller.py b/src-python/webui_controller.py index 9d766593..fa3349e4 100644 --- a/src-python/webui_controller.py +++ b/src-python/webui_controller.py @@ -845,7 +845,7 @@ def callbackSetMicDevice(data, *args, **kwargs) -> dict: if config.ENABLE_CHECK_ENERGY_SEND is True: model.stopCheckMicEnergy() model.startCheckMicEnergy() - return {"status":200, "result":{"host":config.CHOICE_MIC_HOST, "device":config.CHOICE_MIC_DEVICE}} + return {"status":200, "result": config.CHOICE_MIC_DEVICE} def callbackSetMicEnergyThreshold(data, *args, **kwargs) -> dict: printLog("Set Mic Energy Threshold", data)