From 32b1bd6a160bc2eee317382afc43e1f31c2442ae Mon Sep 17 00:00:00 2001 From: Kwon-Young Choi Date: Mon, 4 Mar 2019 15:41:54 +0100 Subject: [PATCH] msgpack python change parameter name from encoding to raw see python msgpack documentation for Unpacker: https://msgpack-python.readthedocs.io/en/latest/api.html --- zerorpc/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerorpc/events.py b/zerorpc/events.py index 7f7c257..76f760c 100644 --- a/zerorpc/events.py +++ b/zerorpc/events.py @@ -213,7 +213,7 @@ def pack(self): @staticmethod def unpack(blob): - unpacker = msgpack.Unpacker(encoding='utf-8') + unpacker = msgpack.Unpacker(raw=False) unpacker.feed(blob) unpacked_msg = unpacker.unpack()