From f88738a67f2706d5fd169d527ab188c89cd4d15b Mon Sep 17 00:00:00 2001 From: Renato Rosa Date: Sat, 26 Sep 2026 15:02:42 -0300 Subject: [PATCH] Atualizar src-py/renatoxsr/utils/pandoc.py --- src-py/renatoxsr/utils/pandoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-py/renatoxsr/utils/pandoc.py b/src-py/renatoxsr/utils/pandoc.py index 435c139..afdc7e4 100644 --- a/src-py/renatoxsr/utils/pandoc.py +++ b/src-py/renatoxsr/utils/pandoc.py @@ -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)