We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4eaf48 commit 7418230Copy full SHA for 7418230
setup.py
@@ -40,9 +40,14 @@ def convert_images():
40
Convert HTML images to RST so they survive pandoc conversion
41
"""
42
images = []
43
+ try:
44
+ readme = open('README.md')
45
+ except IOError:
46
+ return images
47
+
48
with open('README-tmp.md', 'w') as output:
49
img = None
- for row in open('README.md'):
50
+ for row in readme:
51
if not row.startswith('<img') and img is None:
52
output.write(row)
53
continue
0 commit comments