From 36e77bd0a9f4e95877ca9d2100294e79d101225b Mon Sep 17 00:00:00 2001 From: Zarina Sayfullina Date: Fri, 5 Jul 2019 15:14:40 +0300 Subject: [PATCH] msgpack.unpackb for python3 --- tarantool_queue/tarantool_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tarantool_queue/tarantool_queue.py b/tarantool_queue/tarantool_queue.py index 61117d4..e64fb37 100644 --- a/tarantool_queue/tarantool_queue.py +++ b/tarantool_queue/tarantool_queue.py @@ -382,7 +382,7 @@ def basic_serialize(data): @staticmethod def basic_deserialize(data): - return msgpack.unpackb(data) + return msgpack.unpackb(data, encoding='utf-8') def __init__(self, host="localhost", port=33013, space=0, schema=None): if not(host and port):