more accurate warning message for giving up on a PDF

main
xenofem 2024-03-12 15:58:39 -04:00
parent 26ec1901c3
commit 894b1d34b6
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ class Collator:
with fitz.open(src) as pdf:
images = pdf_images(pdf, self.args.pdf_strategy)
if images is None:
print(f'Failed to enumerate page images in PDF, skipping {src}')
print(f'Failed to enumerate page images in PDF {src}')
return None
self.dest.mkdir(parents=True, exist_ok=True)