Fix JBIG2 not updating progress bar

This commit is contained in:
James R. Barlow
2023-11-20 16:25:30 -08:00
parent 03669183d7
commit 8a73ed5d5a
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ def _produce_jbig2_images(
options.jbig2_threshold,
)
def jbig2_single_args(root, groups: dict[int, list[XrefExt]]):
def jbig2_single_args(root: Path, groups: dict[int, list[XrefExt]]):
for group, xref_exts in groups.items():
prefix = f'group{group:08d}'
# Second loop is to ensure multiple images per page are unpacked