From 15c0a372caa7601ad32251aa5ba73b3780ab1537 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 15 Jul 2021 15:00:36 +0800 Subject: [PATCH] bugfix --- appPublic/dataencoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appPublic/dataencoder.py b/appPublic/dataencoder.py index de9747a..b4d2836 100644 --- a/appPublic/dataencoder.py +++ b/appPublic/dataencoder.py @@ -113,7 +113,7 @@ class DataEncoder: data = zlib.decompress(data) if data[:18] == b'\x00' * 18: data = data[18:] - t = ord(data[0]) + t = ord(chr(data[0])) d = data[1:] if t == DATA_TYPE_BYTES: return d