Skip to content

Commit

Permalink
Fix pypandoc => pypandoc.convert -> pypandoc.convert_file
Browse files Browse the repository at this point in the history
  • Loading branch information
ryukinix committed Sep 13, 2018
1 parent 74e1630 commit d1be1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

try:
import pypandoc
long_description = pypandoc.convert(readme, 'rst', format='markdown')
long_description = pypandoc.convert_file(readme, 'rst', format='markdown')
except ImportError:
warn("Only-for-developers: you need pypandoc for upload "
"correct reStructuredText into PyPI home page")
Expand Down

0 comments on commit d1be1b8

Please sign in to comment.