From e4c206e123b40decc93506217c22d9d007d43e80 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 25 Jan 2017 20:38:28 +0900 Subject: [PATCH] Namespace fix --- lib/jsonrpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jsonrpc.py b/lib/jsonrpc.py index b46992c..977a0cc 100644 --- a/lib/jsonrpc.py +++ b/lib/jsonrpc.py @@ -607,7 +607,7 @@ class JSONSessionBase(util.LoggedClass): A 1-tuple is also valid in which case there are no params.''' if self.version.HAS_BATCHES: parts = [self.notification_bytes(*pair) for pair in mp_iterable] - self.send_binary(batch_bytes(parts)) + self.send_binary(self.version.batch_bytes(parts)) else: for pair in mp_iterable: self.send_notification(*pair)