mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Hide _client when printing pyrogram object
This commit is contained in:
parent
7e5dcb9f60
commit
36a1015ec9
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class Encoder(JSONEncoder):
|
|||
if o is not None:
|
||||
if o.startswith("pyrogram.client"):
|
||||
r = remove_none(OrderedDict([("_", name)] + [i for i in content.items()]))
|
||||
r.pop("client", None)
|
||||
r.pop("_client", None)
|
||||
|
||||
return r
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue