mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-09 08:14:50 +00:00
Fix deserialization of pretty-printable lists
This commit is contained in:
parent
701267eb04
commit
e74521b1cc
1 changed files with 1 additions and 1 deletions
|
|
@ -27,6 +27,6 @@ class List(list):
|
||||||
return Object.__str__(self)
|
return Object.__str__(self)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "pyrogram.client.types.pyrogram_list.PyrogramList([{}])".format(
|
return "pyrogram.client.types.list.List([{}])".format(
|
||||||
",".join(Object.__repr__(i) for i in self)
|
",".join(Object.__repr__(i) for i in self)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue