瀏覽代碼

include failed link updates in total count stats

Nick Sweeting 5 年之前
父節點
當前提交
ec1cce283e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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'],
     ))
     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))