Commit 67a8a9c4 authored by chris's avatar chris
Browse files

Broadened exception handling for pypandoc.

parent ab703a09
VERSION = (0, 3, 0)
VERSION = (0, 3, 1)
__version__ = '.'.join(map(str, VERSION))
\ No newline at end of file
......@@ -8,7 +8,7 @@ import database_files
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("Warning: pypandoc module not found, could not convert "
"Markdown to RST")
read_md = lambda f: open(f, 'r').read()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment