Atualizar src-py/renatoxsr/utils/pandoc.py
This commit is contained in:
@@ -32,7 +32,7 @@ def pandoc(
|
|||||||
raise FileExistsError(errno.EEXIST, os.strerror(errno.EEXIST), outf)
|
raise FileExistsError(errno.EEXIST, os.strerror(errno.EEXIST), outf)
|
||||||
cmd = [bin,
|
cmd = [bin,
|
||||||
"--output", "-" if output=="-" else outf.resolve(),
|
"--output", "-" if output=="-" else outf.resolve(),
|
||||||
"--writer", to, fpath]
|
"--write", to, fpath]
|
||||||
logger.debug("CMD %s", str(cmd))
|
logger.debug("CMD %s", str(cmd))
|
||||||
proc = subprocess.run(cmd, text=True)
|
proc = subprocess.run(cmd, text=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user