Merge pull request #30 from qurator-spk/empty-page-fix

fix call to build xml for empty pages, fix #29
pull/31/head^2
vahidrezanezhad 3 years ago committed by GitHub
commit 17c0f8ab11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1639,7 +1639,7 @@ class Eynollah:
if not num_col:
self.logger.info("No columns detected, outputting an empty PAGE-XML")
pcgts = self.writer.build_pagexml_no_full_layout([], page_coord, [], [], [], [], [], [], [], [], [], cont_page)
pcgts = self.writer.build_pagexml_no_full_layout([], page_coord, [], [], [], [], [], [], [], [], [], [], cont_page)
self.logger.info("Job done in %ss", str(time.time() - t1))
return pcgts

Loading…
Cancel
Save