From 894b1d34b68b6e6f6746ce9fc755302d7b2fbf06 Mon Sep 17 00:00:00 2001 From: xenofem Date: Tue, 12 Mar 2024 15:58:39 -0400 Subject: [PATCH] more accurate warning message for giving up on a PDF --- dlibrary/dlibrary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlibrary/dlibrary.py b/dlibrary/dlibrary.py index 8d60a62..1dc8b39 100755 --- a/dlibrary/dlibrary.py +++ b/dlibrary/dlibrary.py @@ -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)