mirror of
https://github.com/beetbox/beets.git
synced 2026-02-08 08:25:23 +01:00
Handle false-positive error case
This commit is contained in:
parent
9c8d976378
commit
fd77422397
1 changed files with 3 additions and 0 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Reference in a new issue