mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-07 17:31:57 +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