Skip to content
Snippets Groups Projects
Commit ebba4d40 authored by Josh Borrow's avatar Josh Borrow
Browse files

added modulenotfounderror

parent 882715fe
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ try: ...@@ -28,7 +28,7 @@ try:
def convert_text(input_text): def convert_text(input_text):
return pypandoc.convert_text(input_text, "html", format="md") return pypandoc.convert_text(input_text, "html", format="md")
except OSError: except (OSError, ModuleNotFoundError) as e:
print("Pandoc not found on your system. Using mistune (python-only)") print("Pandoc not found on your system. Using mistune (python-only)")
import mistune import mistune
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment