mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-11-09 02:20:36 +00:00
Remove critical code from assert statements
This commit is contained in:
@@ -31,7 +31,8 @@ class GzipPacked(TLObject):
|
||||
|
||||
@staticmethod
|
||||
def read(reader):
|
||||
assert reader.read_int(signed=False) == GzipPacked.CONSTRUCTOR_ID
|
||||
constructor = reader.read_int(signed=False)
|
||||
assert constructor == GzipPacked.CONSTRUCTOR_ID
|
||||
return gzip.decompress(reader.tgread_bytes())
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user