From f76f92f18796eba41d15afe41023319c8666fc1c Mon Sep 17 00:00:00 2001 From: andrew lee Date: Mon, 22 May 2023 02:31:14 +0800 Subject: [PATCH] =?UTF-8?q?Update=20fay=5Fcore.py=20=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E6=92=AD=E6=94=BE=E6=B2=A1=E6=9C=89=E5=81=9C?= =?UTF-8?q?=E6=AD=A2=E5=BD=95=E9=9F=B3=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/fay_core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/fay_core.py b/core/fay_core.py index 2f55ee3..607df0c 100644 --- a/core/fay_core.py +++ b/core/fay_core.py @@ -542,10 +542,11 @@ class FeiFei: wsa_server.get_web_instance().add_cmd({"panelMsg": self.a_msg}) - time.sleep(audio_length + 0.5) + wsa_server.get_web_instance().add_cmd({"panelMsg": ""}) if config_util.config["interact"]["playSound"]: util.log(1, '结束播放!') + time.sleep(audio_length + 0.5) self.speaking = False except Exception as e: print(e)