From 459092c2ed93769df5ada4fd121454a9e1b8100f Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Thu, 11 May 2023 21:35:42 +0200 Subject: [PATCH] Fixed indent --- libbot/__main__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libbot/__main__.py b/libbot/__main__.py index 9d95b33..5c05af0 100644 --- a/libbot/__main__.py +++ b/libbot/__main__.py @@ -29,7 +29,9 @@ async def json_write(data: Any, path: Union[str, Path]) -> None: * path (`Union[str, Path]`): Path-like object or path as a string of a destination """ async with aiofiles.open(str(path), mode="w", encoding="utf-8") as f: - await f.write(dumps(data, ensure_ascii=False, escape_forward_slashes=False)) + await f.write( + dumps(data, ensure_ascii=False, escape_forward_slashes=False, indent=4) + ) async def config_get(