Skip to content

Commit

Permalink
Do not log number of WARC files found
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Jul 23, 2024
1 parent 8d28566 commit 026b052
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions src/zimit/zimit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 026b052

Please sign in to comment.