From 3b5c2cf83620eaf6950d737e174c3751f1209c8e Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 2 Mar 2026 20:06:10 +0800 Subject: [PATCH] bugfix --- app/sage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/sage.py b/app/sage.py index 79d7afb..f34a52d 100644 --- a/app/sage.py +++ b/app/sage.py @@ -43,7 +43,7 @@ async def run_zmq_proxy(app): task.cancel() async def msg_handler(msgstr): - debug('get message:{msgstr}') + debug(f'get message:{msgstr}') msg = DictObject(**json.loads(msgstr)) ret = { "msgtype": "text", # 要返回的消息类型 @@ -54,7 +54,7 @@ async def msg_handler(msgstr): async def woa_msghande(): config = getConfig() - debug('woa_msghander on({config.woa_handler_id}) starting ....') + debug(f'woa_msghander on({config.woa_handler_id}) starting ....') await zmq_subscribe(config.woa_handler_id, msg_handler) debug('woa_msghandler stopped.................')