From 604a908ec8968946078fb02e435989d5b943a50e Mon Sep 17 00:00:00 2001 From: cneud <952378+cneud@users.noreply.github.com> Date: Fri, 23 Feb 2024 23:33:54 +0100 Subject: [PATCH] Update processor.py --- eynollah/eynollah/processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eynollah/eynollah/processor.py b/eynollah/eynollah/processor.py index a03c9c3..9207f54 100644 --- a/eynollah/eynollah/processor.py +++ b/eynollah/eynollah/processor.py @@ -43,7 +43,7 @@ class EynollahProcessor(Processor): page = pcgts.get_Page() # XXX loses DPI information # page_image, _, _ = self.workspace.image_from_page(page, page_id, feature_filter='binarized') - if not('://' in page.imageFilename): + if not ('://' in page.imageFilename): image_filename = next(self.workspace.mets.find_files(local_filename=page.imageFilename)).local_filename else: # could be a URL with file:// or truly remote