Skip to content

Commit

Permalink
Merge pull request #4395 from alimpfard/fix-typo
Browse files Browse the repository at this point in the history
setup.py: Fix typo in 'os.path.exits' -> 'os.path.exists'
  • Loading branch information
totaam authored Oct 17, 2024
2 parents 8a972bc + f1008b4 commit 17ec0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def convert_doc(fsrc: str, fdst: str, fmt="html", force=False) -> None:
pandoc = os.environ.get("PANDOC", "") or shutil.which("pandoc")
if WIN32 and not pandoc:
pandoc = "/c/Program Files/Pandoc/pandoc.exe"
if not os.path.exits(pandoc):
if not os.path.exists(pandoc):
raise RuntimeError("`pandoc` was not found!")
cmd = [pandoc, "--from", "commonmark", "--to", fmt, "-o", fdst, fsrc]
if fmt=="html" and pandoc_lua_ENABLED:
Expand Down

0 comments on commit 17ec0eb

Please sign in to comment.