def runserver(conf: ConfigParser) -> None:
- termconfig = common.normconf(conf["termconfig"])
# Is this https://github.com/zeromq/pyzmq/issues/1627 still not fixed?!
zctx = zmq.Context() # type: ignore
zsub = zctx.socket(zmq.SUB) # type: ignore
log.error(
"%s does not expect externally provided response", msg
)
+ if zmsg.imei is not None and conf.has_section(zmsg.imei):
+ termconfig = common.normconf(conf[zmsg.imei])
+ else:
+ termconfig = common.normconf(conf["termconfig"])
kwargs = {}
if isinstance(msg, STATUS):
kwargs = {