mirror of
https://github.com/flibusta-apps/fb2converter_server.git
synced 2025-12-06 15:05:37 +01:00
Update linting
This commit is contained in:
@@ -35,7 +35,7 @@ async def convert(
|
|||||||
converted_temp_filename = str(temp_uuid) + "." + format
|
converted_temp_filename = str(temp_uuid) + "." + format
|
||||||
|
|
||||||
async with aiofiles.open(temp_filename, "wb") as f:
|
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):
|
if isinstance(content, str):
|
||||||
content = content.encode()
|
content = content.encode()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user