From 03f300d050bacb651185b032de3b7c3e9779ba6d Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 30 Mar 2019 23:47:56 -0400 Subject: [PATCH] always patch all links --- archivebox/archive_methods.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/archivebox/archive_methods.py b/archivebox/archive_methods.py index 105c39b7..d30d008d 100644 --- a/archivebox/archive_methods.py +++ b/archivebox/archive_methods.py @@ -120,11 +120,12 @@ def archive_link(link: Link, link_dir: Optional[str]=None) -> Link: # print(' ', stats) write_link_index(link, link_dir=link.link_dir) + patch_links_index(link) - # 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) + # # 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) log_link_archiving_finished(link, link.link_dir, is_new, stats)