Răsfoiți Sursa

include failed link updates in total count stats

Nick Sweeting 5 ani în urmă
părinte
comite
ec1cce283e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      archivebox/logging_util.py

+ 1 - 1
archivebox/logging_util.py

@@ -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))