From 95bb1588ab89424742f891d0393ac9b9ac09c621 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Mon, 14 Nov 2016 19:15:36 +0900 Subject: [PATCH] Add missing await --- lib/jsonrpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jsonrpc.py b/lib/jsonrpc.py index 62978f4..205beb3 100644 --- a/lib/jsonrpc.py +++ b/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)