more accurate warning message for giving up on a PDF
This commit is contained in:
parent
26ec1901c3
commit
894b1d34b6
|
@ -384,7 +384,7 @@ class Collator:
|
||||||
with fitz.open(src) as pdf:
|
with fitz.open(src) as pdf:
|
||||||
images = pdf_images(pdf, self.args.pdf_strategy)
|
images = pdf_images(pdf, self.args.pdf_strategy)
|
||||||
if images is None:
|
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
|
return None
|
||||||
|
|
||||||
self.dest.mkdir(parents=True, exist_ok=True)
|
self.dest.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
Loading…
Reference in a new issue