|
|
@ -95,7 +95,6 @@ class DictProtocol(asyncio.Protocol):
|
|
|
|
response = result
|
|
|
|
response = result
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
response = json.dumps(result).encode("ascii")
|
|
|
|
response = json.dumps(result).encode("ascii")
|
|
|
|
logging.debug("Replying {}".format(key))
|
|
|
|
|
|
|
|
return await (self.reply(b"O", orig_key, response) if is_iter else self.reply(b"O", response))
|
|
|
|
return await (self.reply(b"O", orig_key, response) if is_iter else self.reply(b"O", response))
|
|
|
|
except KeyError:
|
|
|
|
except KeyError:
|
|
|
|
return await self.reply(b"N")
|
|
|
|
return await self.reply(b"N")
|
|
|
|