Skip to content

Bulk asynchronous downloader for multiple file hosts

fix spelling mistake

Julescef3b0c87f2d
diff --git a/utils/downloaders.py b/utils/downloaders.py
index cdb31417f..1a16e1f43 100644
--- a/utils/downloaders.py
+++ b/utils/downloaders.py
@@ -97,7 +97,7 @@ class Downloader:
await write_partial(temp_file, downloaded)
raise FailureException("We've stored the partial result and will retry")
- async def write_partial(self, filename: Path, downloaded: bytesarray) -> None:
+ async def write_partial(self, filename: Path, downloaded: bytearray) -> None:
"""Store partial or full data into file"""
async with aiofiles.open(filename, mode='ab') as f:
await f.write(downloaded)