bugfix
This commit is contained in:
parent
94a087758f
commit
e134951917
@ -5,7 +5,7 @@ import argparse
|
|||||||
from appPublic.log import MyLogger, info, debug, warning
|
from appPublic.log import MyLogger, info, debug, warning
|
||||||
from appPublic.folderUtils import ProgramPath
|
from appPublic.folderUtils import ProgramPath
|
||||||
from appPublic.jsonConfig import getConfig
|
from appPublic.jsonConfig import getConfig
|
||||||
from appPublic.zmqapi import run_proxy, zmq_subscribe
|
from appPublic.zmqapi import run_proxy, zmq_subcribe
|
||||||
from appPublic.registerfunction import RegisterFunction
|
from appPublic.registerfunction import RegisterFunction
|
||||||
from bricks_for_python.init import load_pybricks
|
from bricks_for_python.init import load_pybricks
|
||||||
from ahserver.webapp import webapp
|
from ahserver.webapp import webapp
|
||||||
@ -56,7 +56,7 @@ async def woa_msghande():
|
|||||||
config = getConfig()
|
config = getConfig()
|
||||||
debug(f'woa_msghander on({config.woa_handler_id}) starting ....')
|
debug(f'woa_msghander on({config.woa_handler_id}) starting ....')
|
||||||
try:
|
try:
|
||||||
await zmq_subscribe(config.woa_handler_id, msg_handler)
|
await zmq_subcribe(config.woa_handler_id, msg_handler)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
debug(f'Exception:{e}')
|
debug(f'Exception:{e}')
|
||||||
debug('woa_msghandler stopped.................')
|
debug('woa_msghandler stopped.................')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user