2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Fix deserialization of pretty-printable lists

This commit is contained in:
Dan 2019-10-24 15:09:20 +02:00
parent 701267eb04
commit e74521b1cc

View File

@ -27,6 +27,6 @@ class List(list):
return Object.__str__(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)
)