mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-22 14:13:01 +02:00
always patch all links
This commit is contained in:
@@ -120,11 +120,12 @@ def archive_link(link: Link, link_dir: Optional[str]=None) -> Link:
|
|||||||
# print(' ', stats)
|
# print(' ', stats)
|
||||||
|
|
||||||
write_link_index(link, link_dir=link.link_dir)
|
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
|
# # If any changes were made, update the main links index json and html
|
||||||
was_changed = stats['succeeded'] or stats['failed']
|
# was_changed = stats['succeeded'] or stats['failed']
|
||||||
if was_changed:
|
# if was_changed:
|
||||||
patch_links_index(link)
|
# patch_links_index(link)
|
||||||
|
|
||||||
log_link_archiving_finished(link, link.link_dir, is_new, stats)
|
log_link_archiving_finished(link, link.link_dir, is_new, stats)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user