fix(api): Add default value to images variable

This commit is contained in:
AaronBenDaniel
2025-06-09 11:42:03 -04:00
parent 29216938aa
commit 939b4c8caa
+2 -2
View File
@@ -181,8 +181,8 @@ async def handle_download(
for part in metadata["parts"]
]
if download_images:
images = [await download_tree_images(tree) for tree in part_trees]
# download_images:
images = [await download_tree_images(tree) for tree in part_trees] if download_images else None
match format:
case DownloadFormat.epub: