mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-03 07:45:14 +00:00
Don't ensure ascii when printing objects
This will break in case of non-utf8 terminals
This commit is contained in:
@@ -37,7 +37,7 @@ class Object:
|
||||
pass
|
||||
|
||||
def __str__(self) -> str:
|
||||
return dumps(self, indent=4, default=default)
|
||||
return dumps(self, indent=4, default=default, ensure_ascii=False)
|
||||
|
||||
def __bool__(self) -> bool:
|
||||
return True
|
||||
|
Reference in New Issue
Block a user