mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +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 is not None:
|
||||||
if o.startswith("pyrogram.client"):
|
if o.startswith("pyrogram.client"):
|
||||||
r = remove_none(OrderedDict([("_", name)] + [i for i in content.items()]))
|
r = remove_none(OrderedDict([("_", name)] + [i for i in content.items()]))
|
||||||
r.pop("client", None)
|
r.pop("_client", None)
|
||||||
|
|
||||||
return r
|
return r
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue