From e74521b1cc8b61e832a213ebb837416a0a5cb444 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 24 Oct 2019 15:09:20 +0200 Subject: [PATCH] Fix deserialization of pretty-printable lists --- pyrogram/client/types/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/types/list.py b/pyrogram/client/types/list.py index cec2d8a2..f8a96205 100644 --- a/pyrogram/client/types/list.py +++ b/pyrogram/client/types/list.py @@ -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) )