Fix leftover bytes not being represented in hex
This commit is contained in:
parent
68158d1053
commit
601483f210
@ -33,7 +33,7 @@ class TLObject:
|
||||
try:
|
||||
return cast(TLObject, objects[int.from_bytes(data.read(4), "little")]).read(data, *args)
|
||||
except KeyError as e:
|
||||
left = data.read()
|
||||
left = data.read().hex()
|
||||
|
||||
left = [left[i:i + 64] for i in range(0, len(left), 64)]
|
||||
left = [[left[i:i + 8] for i in range(0, len(left), 8)] for left in left]
|
||||
|
Loading…
Reference in New Issue
Block a user