mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-02 07:22:14 +00:00
reformatted the code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
This commit is contained in:
parent
b0fc1e7189
commit
89487dd76e
@ -114,7 +114,7 @@ def export_documents(
|
|||||||
with fname.open("w", encoding="utf8") as fp:
|
with fname.open("w", encoding="utf8") as fp:
|
||||||
_log.info(f"writing HTML output to {fname}")
|
_log.info(f"writing HTML output to {fname}")
|
||||||
fp.write(conv_res.document.export_to_html())
|
fp.write(conv_res.document.export_to_html())
|
||||||
|
|
||||||
# Export Text format:
|
# Export Text format:
|
||||||
if export_txt:
|
if export_txt:
|
||||||
fname = output_dir / f"{doc_filename}.txt"
|
fname = output_dir / f"{doc_filename}.txt"
|
||||||
|
Loading…
Reference in New Issue
Block a user