mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-21 02:15:10 -04:00
better error message when nothing left to resume
This commit is contained in:
parent
f8eb245519
commit
a3155b88a1
1 changed files with 2 additions and 1 deletions
|
@ -712,7 +712,8 @@ def update(resume: Optional[float]=None,
|
||||||
if link.timestamp >= str(resume)
|
if link.timestamp >= str(resume)
|
||||||
]
|
]
|
||||||
if not to_archive:
|
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
|
return all_links
|
||||||
|
|
||||||
archive_links(to_archive, overwrite=overwrite, out_dir=out_dir)
|
archive_links(to_archive, overwrite=overwrite, out_dir=out_dir)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue