mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-29 23:50:22 +00:00
always patch all links
This commit is contained in:
parent
f1075f2c7d
commit
03f300d050
1 changed files with 5 additions and 4 deletions
|
@ -120,12 +120,13 @@ 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)
|
||||||
|
|
||||||
# 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)
|
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)
|
log_link_archiving_finished(link, link.link_dir, is_new, stats)
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
Loading…
Reference in a new issue