From d95da7372a3202b6db204822c2f2579900d32ab1 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Sat, 16 Mar 2019 00:54:27 +0100 Subject: [PATCH] Feed Msgpack unpacker as byte --- src/Test/TestMsgpack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Test/TestMsgpack.py b/src/Test/TestMsgpack.py index 753e2365..abbdaade 100644 --- a/src/Test/TestMsgpack.py +++ b/src/Test/TestMsgpack.py @@ -27,7 +27,7 @@ class TestMsgpack: messages = [] for char in data: - unpacker.feed(char) + unpacker.feed(bytes([char])) for message in unpacker: messages.append(message)