From 7f84c4b3c8341e883db4a554c3642e87c36bd0f7 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 20 Mar 2019 02:36:55 -0400 Subject: [PATCH] dont show in progresss message or regen index on exit --- archivebox/archive.py | 8 ++++---- archivebox/templates/index.html | 8 +++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/archivebox/archive.py b/archivebox/archive.py index ff4490c1..22c28b6b 100755 --- a/archivebox/archive.py +++ b/archivebox/archive.py @@ -112,10 +112,10 @@ def update_archive(archive_path, links, source=None, resume=None, append=True): archive_link(link_dir, link) except (KeyboardInterrupt, SystemExit, Exception) as e: - if isinstance(e, KeyboardInterrupt): - # Step 4: Re-write links index with updated titles, icons, and resources - all_links, _ = load_links(archive_path=out_dir) - write_links_index(out_dir=out_dir, links=all_links, finished=True) + # if isinstance(e, KeyboardInterrupt): + # # Step 4: Re-write links index with updated titles, icons, and resources + # all_links, _ = load_links(archive_path=out_dir) + # write_links_index(out_dir=out_dir, links=all_links, finished=True) print() print('\n{lightyellow}[X] [{now}] Downloading paused on link {timestamp} ({idx}/{total}){reset}'.format( **ANSI, diff --git a/archivebox/templates/index.html b/archivebox/templates/index.html index db662ecc..677d079a 100644 --- a/archivebox/templates/index.html +++ b/archivebox/templates/index.html @@ -117,9 +117,9 @@ body[data-status~=finished] .files-spinner { display: none; } - body[data-status~=running] .in-progress { + /*body[data-status~=running] .in-progress { display: inline-block; - } + }*/ @@ -135,7 +135,9 @@
- Archived Sites (Currently Updating)
+ Archived Sites + +
Last updated $time_updated