From: Vincent Vanwaelscappel Date: Mon, 4 Aug 2025 13:15:23 +0000 (+0200) Subject: #7678 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2e260cdec49393f7204a11e2b93ce985a22873bf;p=cubist_pdf.git #7678 --- diff --git a/resources/tools/docling/convert_page.py b/resources/tools/docling/convert_page.py index 7cbf9a4..8079c54 100644 --- a/resources/tools/docling/convert_page.py +++ b/resources/tools/docling/convert_page.py @@ -28,7 +28,7 @@ j=0 for md in allpages.split(""): i+=1 j+=1 - while os.stats(Path(sys.argv[2] + "/../texts/ph{j}.html")).st_size < 21: + while os.stats(Path(sys.argv[2] + "/../texts/fh{j}.html")).st_size < 21: Path(sys.argv[2]+"p"+str(j)+".md").write_text("") j+=1 Path(sys.argv[2]+"p"+str(j)+".md").write_text(md)