[fix] always input markdown in pypandoc

This commit is contained in:
Laurent Peuch 2016-02-23 07:03:48 +01:00
parent 1209c61f69
commit 871822bf7e

View File

@ -5,7 +5,7 @@ from setuptools import setup
try: try:
from pypandoc import convert from pypandoc import convert
read_md = lambda f: convert(f, 'rst') read_md = lambda f: convert(f, 'rst', format='md')
except ImportError: except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST") print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read() read_md = lambda f: open(f, 'r').read()