include failed link updates in total count stats

This commit is contained in:
Nick Sweeting 2020-08-18 04:39:19 -04:00
parent 6e142e3531
commit ec1cce283e

View file

@ -283,7 +283,7 @@ def log_archiving_finished(num_links: int):
ANSI['reset'], ANSI['reset'],
)) ))
print(' - {} links skipped'.format(_LAST_RUN_STATS.skipped)) 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(' - {} links had errors'.format(_LAST_RUN_STATS.failed))
print() print()
print(' {lightred}Hint:{reset} To view your archive index, open:'.format(**ANSI)) print(' {lightred}Hint:{reset} To view your archive index, open:'.format(**ANSI))