🐛 GzipPacked: Fix attr get

This commit is contained in:
Sam 2022-01-20 00:03:05 +08:00
parent 3812c5c584
commit c1bd82ffdd
Signed by: sam01101
GPG Key ID: 42D7B6D13FF5E611

View File

@ -59,3 +59,8 @@ class GzipPacked(TLObject):
) )
return b.getvalue() return b.getvalue()
def __getattr__(self, item):
if item == "packed_data":
return self.packed_data
return getattr(self.packed_data, item)