mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 21:44:51 +00:00
Don't ensure ascii when printing objects
This will break in case of non-utf8 terminals
This commit is contained in:
parent
6bd9ddc95e
commit
c611944d45
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue