From ec1cce283ed4e1b322de419c9da9be1bab845745 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 18 Aug 2020 04:39:19 -0400 Subject: [PATCH] include failed link updates in total count stats --- archivebox/logging_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/logging_util.py b/archivebox/logging_util.py index 684f3d80..566266f1 100644 --- a/archivebox/logging_util.py +++ b/archivebox/logging_util.py @@ -283,7 +283,7 @@ def log_archiving_finished(num_links: int): ANSI['reset'], )) print(' - {} links skipped'.format(_LAST_RUN_STATS.skipped)) - print(' - {} links updated'.format(_LAST_RUN_STATS.succeeded)) + print(' - {} links updated'.format(_LAST_RUN_STATS.succeeded + _LAST_RUN_STATS.failed)) print(' - {} links had errors'.format(_LAST_RUN_STATS.failed)) print() print(' {lightred}Hint:{reset} To view your archive index, open:'.format(**ANSI))