mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit Book: Check Book: Do not run the rest of the checks if parsing errors are found, to avoid the checkers from raising unhandled errors
This commit is contained in:
parent
40540fae6d
commit
7a27819715
@ -52,6 +52,9 @@ def run_checks(container):
|
||||
continue
|
||||
errors.extend(check_css_parsing(name, raw))
|
||||
|
||||
if errors:
|
||||
return errors
|
||||
|
||||
for name, mt, raw in html_items + xml_items:
|
||||
errors.extend(check_encoding_declarations(name, container))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user