Skip to content

Commit

Permalink
added support to the new wordpress assets folder and url
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Sep 7, 2014
1 parent cd2d689 commit ced1a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wordpress-readme-to-markdown.py
Expand Up @@ -70,7 +70,7 @@ def parseScreenshots(self, content, slug):
if images:
for index, line in enumerate(images.group(1).strip().split("""\n""")):
content = content.replace(line, \
"""### %(name)s ###\n![%(name)s](http://s.wordpress.org/extend/plugins/%(slug)s/screenshot-%(index)s.png)\n""" \
"""### %(name)s ###\n![%(name)s](http://ps.w.org/%(slug)s/assets/screenshot-%(index)s.png)\n""" \
% {"name": line, "slug": slug, "index": index + 1})

return content
Expand Down

0 comments on commit ced1a9f

Please sign in to comment.