Addedd ensure_ascii=False to exporting Accounst
This commit is contained in:
parent
d82d152fef
commit
025ea868a6
@ -23,7 +23,7 @@ class _Accounts(pydantic.BaseModel):
|
||||
|
||||
def _accounts_list_to_json(accounts: Iterator[tuple[str, str, str]]) -> str:
|
||||
accounts = _Accounts(accounts=[_Account.from_tuple(i) for i in accounts])
|
||||
return accounts.json()
|
||||
return accounts.json(ensure_ascii=False)
|
||||
|
||||
|
||||
def json_to_accounts(json_: str) -> list[tuple[str, str, str]]:
|
||||
|
Reference in New Issue
Block a user