mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-25 13:10:33 +08:00
Fixes reading of README file.
This commit is contained in:
@@ -26,8 +26,8 @@ def readme_as_rest():
|
||||
This allows to have one canonical README file, being the README.md
|
||||
"""
|
||||
doc = pandoc.Document()
|
||||
with open('README.md').read() as markdown_source:
|
||||
doc.markdown = markdown_source
|
||||
with open('README.md') as markdown_source:
|
||||
doc.markdown = markdown_source.read()
|
||||
return doc.rst
|
||||
|
||||
setup(
|
||||
|
||||
Reference in New Issue
Block a user