fix call to build xml for empty pages, fix #29

pull/30/head
Konstantin Baierer 4 years ago
parent 68e6f5c712
commit 517843fe8b

@ -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