mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
parent
79583a29fc
commit
2ad1d9cbc8
@ -33,7 +33,7 @@ class Vector(bytes, TLObject):
|
|||||||
def _read(b: BytesIO) -> Union[int, Any]:
|
def _read(b: BytesIO) -> Union[int, Any]:
|
||||||
try:
|
try:
|
||||||
return TLObject.read(b)
|
return TLObject.read(b)
|
||||||
except KeyError:
|
except ValueError:
|
||||||
b.seek(-4, 1)
|
b.seek(-4, 1)
|
||||||
return Int.read(b)
|
return Int.read(b)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user