Browse Source

Fix typo

master
Neil Booth 8 years ago
parent
commit
41fb143947
  1. 4
      lib/jsonrpc.py

4
lib/jsonrpc.py

@ -63,7 +63,7 @@ class JSONRPC(asyncio.Protocol, LoggedClass):
def __init__(self, msg, code=-1, **kw_args):
super().__init__(**kw_args)
self.msg = msg
self.code
self.code = code
def __init__(self):
@ -231,7 +231,7 @@ class JSONRPC(asyncio.Protocol, LoggedClass):
handler = self.method_handler(method)
if not handler:
raise self.RPCError('unknown method: {}'.format(method),
raise self.RPCError('unknown method: "{}"'.format(method),
self.METHOD_NOT_FOUND)
return await handler(params)

Loading…
Cancel
Save