Fix pypandoc deprecation warning

This commit is contained in:
desbma
2018-09-24 00:04:12 +02:00
parent 60d1412de7
commit 1f1313cfb0
+1 -1
View File
@@ -24,7 +24,7 @@ except ImportError:
try:
import pypandoc
readme = pypandoc.convert("README.md", "rst")
readme = pypandoc.convert_file("README.md", "rst")
except ImportError:
with open("README.md", "rt", encoding="utf-8") as f:
readme = f.read()