Skip to content

Commit

Permalink
Fix silly formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sambrightman committed Oct 6, 2020
1 parent 1f138b8 commit 2b38617
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 @@ -29,7 +29,7 @@ def main():
raise RuntimeError("Cannot find metadata information")

with open("README.rst", encoding="utf-8") as readme_file:
relative_path = "{}/{}".format(urlparse(metadata["url"]).path, "master/")
relative_path = "{}/master/".format(urlparse(metadata["url"]).path)
image_base_url = urljoin("https://raw.githubusercontent.com/", relative_path)
readme = rewrite_relative_images(image_base_url, readme_file.read())

Expand Down

0 comments on commit 2b38617

Please sign in to comment.