From 026b0522916df28320ad850977bd3634b8d77786 Mon Sep 17 00:00:00 2001 From: benoit74 Date: Tue, 23 Jul 2024 09:27:15 +0000 Subject: [PATCH] Do not log number of WARC files found --- CHANGELOG.md | 1 + src/zimit/zimit.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f406d0..81835e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Changed - Stop fetching and passing browsertrix crawler version as scraperSuffix to warc2zim (#354) +- Do not log number of WARC files found (#357) ## [2.0.4] - 2024-07-15 diff --git a/src/zimit/zimit.py b/src/zimit/zimit.py index 513fd8e..f96e0be 100755 --- a/src/zimit/zimit.py +++ b/src/zimit/zimit.py @@ -486,8 +486,6 @@ def cleanup(): logger.info(f"Processing WARC files in {warc_directory}") warc2zim_args.append(str(warc_directory)) - num_files = sum(1 for _ in warc_directory.iterdir()) - logger.info(f"{num_files} WARC files found") logger.info(f"Calling warc2zim with these args: {warc2zim_args}") return warc2zim(warc2zim_args)