mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 15:14:31 -04:00
log matching links in a more logical place
This commit is contained in:
parent
1e759084f3
commit
50d368b1bc
2 changed files with 6 additions and 2 deletions
|
@ -121,11 +121,15 @@ def remove_archive_links(filter_patterns: List[str], filter_type: str='exact',
|
|||
))
|
||||
finally:
|
||||
timer.end()
|
||||
|
||||
if not len(links):
|
||||
log_removal_finished(0, 0)
|
||||
raise SystemExit(1)
|
||||
|
||||
|
||||
log_list_finished(links)
|
||||
log_removal_started(links, yes=yes, delete=delete)
|
||||
|
||||
timer = TimedProgress(360, prefix=' ')
|
||||
try:
|
||||
to_keep = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue