This commit is contained in:
yumoqing 2026-03-03 17:32:49 +08:00
parent e134951917
commit 9dfcda3ab0

View File

@ -5,7 +5,7 @@ import argparse
from appPublic.log import MyLogger, info, debug, warning
from appPublic.folderUtils import ProgramPath
from appPublic.jsonConfig import getConfig
from appPublic.zmqapi import run_proxy, zmq_subcribe
from appPublic.zmqapi import run_proxy, zmq_subscribe
from appPublic.registerfunction import RegisterFunction
from bricks_for_python.init import load_pybricks
from ahserver.webapp import webapp
@ -56,7 +56,7 @@ async def woa_msghande():
config = getConfig()
debug(f'woa_msghander on({config.woa_handler_id}) starting ....')
try:
await zmq_subcribe(config.woa_handler_id, msg_handler)
await zmq_subscribe(config.woa_handler_id, msg_handler)
except Exception as e:
debug(f'Exception:{e}')
debug('woa_msghandler stopped.................')