bugfix
This commit is contained in:
parent
646b9d868a
commit
15c0a372ca
@ -113,7 +113,7 @@ class DataEncoder:
|
|||||||
data = zlib.decompress(data)
|
data = zlib.decompress(data)
|
||||||
if data[:18] == b'\x00' * 18:
|
if data[:18] == b'\x00' * 18:
|
||||||
data = data[18:]
|
data = data[18:]
|
||||||
t = ord(data[0])
|
t = ord(chr(data[0]))
|
||||||
d = data[1:]
|
d = data[1:]
|
||||||
if t == DATA_TYPE_BYTES:
|
if t == DATA_TYPE_BYTES:
|
||||||
return d
|
return d
|
||||||
|
Loading…
Reference in New Issue
Block a user