Atualizar src-py/renatoxsr/utils/pandoc.py

This commit is contained in:
2026-09-26 15:02:42 -03:00
parent 91917eb8f1
commit f88738a67f
+1 -1
View File
@@ -19,7 +19,7 @@ def pandoc(
logger.info("%s: from '%s' to '%s'", bin, input_file, output)
if not Path(bin).is_file():
which_bin = shutil.which(bin)
if not Path(bin).is_file():
if not Path(which_bin).is_file():
raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), bin)
fpath = Path(input_file)