Skip to content

Commit 4a33c37

Browse files
committed
fixes pypandoc convert attribute error
See: man-group/pytest-plugins#87
1 parent f493bcd commit 4a33c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
path_readme = os.path.join(os.path.dirname(__file__), 'README.md')
1414
try:
1515
import pypandoc
16-
README = pypandoc.convert(path_readme, 'rst')
16+
README = pypandoc.convert_file(path_readme, 'rst')
1717
except (IOError, ImportError):
1818
with open(path_readme) as readme:
1919
README = readme.read()

0 commit comments

Comments
 (0)