Browse Source

Add missing await

master
Neil Booth 8 years ago
parent
commit
95bb1588ab
  1. 2
      lib/jsonrpc.py

2
lib/jsonrpc.py

@ -172,7 +172,7 @@ class JSONRPC(asyncio.Protocol, LoggedClass):
the connection is closing.
'''
if isinstance(request, list):
payload = self.batch_request_payload(request)
payload = await self.batch_request_payload(request)
else:
payload = await self.single_request_payload(request)

Loading…
Cancel
Save