fix: wrong count in badfiles log message (#6366)

## Description

Small fix in badfiles: the wrong variable was used for the number of
found errors in badfiles' log messages.
This commit is contained in:
J0J0 Todos 2026-02-13 20:22:45 +01:00 committed by GitHub
commit 8eed22c457
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -147,7 +147,7 @@ class BadFiles(BeetsPlugin):
elif errors > 0:
error_lines.append(
f"{ui.colorize('text_warning', dpath)}: checker found"
f" {status} errors or warnings"
f" {errors} errors or warnings"
)
for line in output:
error_lines.append(f" {line}")

View file

@ -23,6 +23,7 @@ Bug fixes
:conf:`plugins.musicbrainz:extra_tags`.
- :doc:`plugins/musicbrainz`: Fix fetching very large releases that have more
than 500 tracks. :bug:`6355`
- :doc:`plugins/badfiles`: Fix number of found errors in log message
..
For plugin developers