Fixed doc grammar; added error precedence comment

This commit is contained in:
Tommy Schnabel-Jones 2026-01-16 11:40:26 -05:00
parent 7310532a9c
commit 40b0ab4ead
2 changed files with 3 additions and 1 deletions

View file

@ -227,6 +227,8 @@ class BadFiles(BeetsPlugin):
ui.print_(error_line)
# Check for and handle automatic actions.
# Errors always take precedence over warnings.
if found_error and error_action != "ask":
return self.handle_import_action(error_action, "error")
elif found_warning and warning_action != "ask":

View file

@ -35,7 +35,7 @@ option. When on, checkers will be run against every imported file and warnings
and errors will be presented when selecting a tagging option.
`import_action_on_error` and `import_action_on_warning` can be used to take
automatic action on warning and errors. Both options default to `ask`.
automatic action on warnings and errors. Both options default to `ask`.
Valid options for both `import_action_on_(warning|error)` are
`ask skip abort continue`.