fixed: empty page error due None table contours

This commit is contained in:
vahidrezanezhad 2021-09-23 15:51:30 -04:00
parent 0859d22f4c
commit 169b50aaaf

View file

@ -2320,7 +2320,7 @@ class Eynollah:
if not num_col: if not num_col:
self.logger.info("No columns detected, outputting an empty PAGE-XML") 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)) self.logger.info("Job done in %ss", str(time.time() - t1))
return pcgts return pcgts