Handle false-positive error case

This commit is contained in:
Tommy Schnabel-Jones 2026-01-28 15:07:40 -05:00
parent 9c8d976378
commit fd77422397

View file

@ -220,6 +220,9 @@ class BadFiles(BeetsPlugin):
found_error = False
for error in task._badfiles_checks_failed:
for error_line in error:
if 'checker found 0 errors or warnings' in error_line.lower():
continue
if "warning" in error_line.lower():
found_warning = True
if "error" in error_line.lower():