Atualizar src-py/renatoxsr/scripts/bulk_jsonl.py

This commit is contained in:
2026-09-26 15:18:17 -03:00
parent 77bb8efdfa
commit 1918465ada
+1 -1
View File
@@ -34,7 +34,7 @@ def main():
with open(Path(parsed_args.outdir) / parsed_args.outfile, "w" if parsed_args.overwrite else "a") as output_file:
for file in process_files:
fpath = Path(file)
data = {"hash": hash_b58(fpath), "fpath": str(fpath), "markdown": pandoc(fpath)}
data = {"hash": hash_b58(fpath), "fpath": str(fpath), "markdown": pandoc(fpath, to="markdown")}
if not data["markdown"]:
logger.error("No markdown output from '%s' (hash:%s)", fpath, data["hash"])
continue