mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-14 14:49:54 +02:00
Update processor.py
This commit is contained in:
parent
ccd35b426b
commit
604a908ec8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue