handle urls with special characters properly

This commit is contained in:
Nick Sweeting 2019-03-30 22:25:10 -04:00
parent 6a8f6f52af
commit 97249a1861
5 changed files with 22 additions and 22 deletions

View file

@ -119,9 +119,9 @@ def archive_link(link: Link, link_dir: Optional[str]=None) -> Link:
# print(' ', stats)
# If any changes were made, update the link index json and html
write_link_index(link, link_dir=link.link_dir)
# If any changes were made, update the main links index json and html
was_changed = stats['succeeded'] or stats['failed']
if was_changed:
patch_links_index(link)