debug print

This commit is contained in:
leo 2023-03-06 12:09:59 +01:00
parent bca8d71490
commit 20e8e61d2c
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB

View File

@ -58,7 +58,6 @@ cachedOutPath = "/".join([repo_name,str(inHash)])
# If not already rendered # If not already rendered
if not os.path.isfile(cachedOutPath): if not os.path.isfile(cachedOutPath):
print("rendering")
subprocess.run(["asciidoctor", "-s", "--safe-mode", "server", "-a", "showtitle", "-a", "source-highlighter=rouge", "-a", "rouge-css=style", "-a", "rouge-style=base16.monokai.dark", f"--out-file={str(inHash)}", f"--base-dir={repo_name}", inputBufferPath]) subprocess.run(["asciidoctor", "-s", "--safe-mode", "server", "-a", "showtitle", "-a", "source-highlighter=rouge", "-a", "rouge-css=style", "-a", "rouge-style=base16.monokai.dark", f"--out-file={str(inHash)}", f"--base-dir={repo_name}", inputBufferPath])
# return rendered(or cached) output to stdout # return rendered(or cached) output to stdout