diff --git a/mtproto.py b/mtproto.py index 651a88bb..966f3bb5 100644 --- a/mtproto.py +++ b/mtproto.py @@ -139,11 +139,11 @@ def deserialize(bytes_io, type_=None, subtype=None): elif type_ == 'int128': x = bytes_io.read(16) elif type_ == 'int256': x = bytes_io.read(32) elif type_ == 'string' or type_ == 'bytes': - l = struct.unpack('