fixed ruff in backend

This commit is contained in:
nvrl committed 2026-05-02 11:14:02 +02:00
1 parent 173da217d6
commit 5da8ead2ff
6 files changed
+11 -20

No files matched your search

@@ -71,7 +71,9 @@ class Command(BaseCommand):
results: dict[int, str] = {}
with ThreadPoolExecutor(max_workers=_DOWNLOAD_WORKERS) as ex:
futures = {ex.submit(self.download_image_to_path, url, rel): i for i, url, rel in targets}
futures = {
ex.submit(self.download_image_to_path, url, rel): i for i, url, rel in targets
}
for fut, i in futures.items():
saved = fut.result()
if saved: