Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 516b9b8

Browse files
author
David Antliff
committed
MsgPack is deprecating Unpacker(encoding='utf-8') - use 'raw=True' as recommended by MsgPack docs.
1 parent 660891e commit 516b9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zerorpc/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def pack(self):
210210

211211
@staticmethod
212212
def unpack(blob):
213-
unpacker = msgpack.Unpacker(encoding='utf-8')
213+
unpacker = msgpack.Unpacker(raw=False)
214214
unpacker.feed(blob)
215215
unpacked_msg = unpacker.unpack()
216216

0 commit comments

Comments
 (0)