From c4baa74110a1bcce8302225bbd585fa73729bd07 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Sat, 2 Apr 2022 19:11:27 +0300 Subject: [PATCH] Update linting --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index d90b08c..e0c5954 100644 --- a/app/main.py +++ b/app/main.py @@ -35,7 +35,7 @@ async def convert( converted_temp_filename = str(temp_uuid) + "." + format async with aiofiles.open(temp_filename, "wb") as f: - while (content := await file.read(1024)): + while content := await file.read(1024): if isinstance(content, str): content = content.encode()