Commit 2174b886 authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

add missing await statement

parent f2acf26c
Loading
Loading
Loading
Loading
+1 −1
Changes for circe/__init__.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ if not os.path.isfile(AUTH_DB_PATH):
async def _write_file(path, body):
    async with aiofiles.open(path, "wb") as f:
        await f.write(body)
        f.close()
        await f.close()


def _secure_filename(filename: str) -> str: