Skip to content

Commit 002e16d

Browse files
authored
Merge pull request #565 from felixonmars/patch-1
Use new method to avoid deprecation warning of pypandoc
2 parents 831f589 + 94d1a55 commit 002e16d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333

3434
# Convert README.md to README.rst for pypi
3535
try:
36-
from pypandoc import convert
36+
from pypandoc import convert_file
3737

3838
def read_md(f):
39-
return convert(f, 'rst')
39+
return convert_file(f, 'rst')
4040

4141
# read_md = lambda f: convert(f, 'rst')
4242
except:

0 commit comments

Comments
 (0)