From a3155b88a1bf46f36c5c682193f7170a0d48bd00 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 18 Aug 2020 04:42:39 -0400 Subject: [PATCH] better error message when nothing left to resume --- archivebox/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archivebox/main.py b/archivebox/main.py index b43c87b3..00e9790d 100644 --- a/archivebox/main.py +++ b/archivebox/main.py @@ -712,7 +712,8 @@ def update(resume: Optional[float]=None, if link.timestamp >= str(resume) ] if not to_archive: - print(f'[√] Nothing found to resume after {resume}.') + stderr('') + stderr(f'[√] Nothing found to resume after {resume}', color='green') return all_links archive_links(to_archive, overwrite=overwrite, out_dir=out_dir)