diff options
author | Lint Action <[email protected]> | 2023-04-08 13:53:52 +0000 |
---|---|---|
committer | Lint Action <[email protected]> | 2023-04-08 13:53:52 +0000 |
commit | b22cccee94226cb4841ead11a7ffb68ac9f525f5 (patch) | |
tree | ed5310b2c7468934206009a699ad804ffc981e4a | |
parent | 53a714a84aea6316cf5f887b469805b934372fb0 (diff) | |
download | ATRI-b22cccee94226cb4841ead11a7ffb68ac9f525f5.tar.gz ATRI-b22cccee94226cb4841ead11a7ffb68ac9f525f5.tar.bz2 ATRI-b22cccee94226cb4841ead11a7ffb68ac9f525f5.zip |
:rotating_light: 自动进行代码格式化
-rw-r--r-- | ATRI/utils/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/utils/__init__.py b/ATRI/utils/__init__.py index a6526c2..d904e54 100644 --- a/ATRI/utils/__init__.py +++ b/ATRI/utils/__init__.py @@ -131,7 +131,7 @@ class FileDealer: await target.write(content) except Exception: raise Exception(f"Writing file ({self.path}) failed!") - + async def write_json(self, content): try: async with aiofiles.open(self.path, "w", encoding=self.encoding) as target: |