From 8fbbb485cd7139dee8d2bbbaac06404c4c64e8aa Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 3 Sep 2015 15:42:54 +0530 Subject: [PATCH] Edit Book: Check Book: Fix automatic fixing of unsafe ids not working if the file containing the unsafe also needs to be fixed for an unsafe filename. Fixes #1491728 [Private bug](https://bugs.launchpad.net/calibre/+bug/1491728) --- src/calibre/ebooks/oeb/polish/check/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/oeb/polish/check/main.py b/src/calibre/ebooks/oeb/polish/check/main.py index bdb54a99e5..0a7feb6ff3 100644 --- a/src/calibre/ebooks/oeb/polish/check/main.py +++ b/src/calibre/ebooks/oeb/polish/check/main.py @@ -74,8 +74,8 @@ def run_checks(container): errors += check_mimetypes(container) errors += check_links(container) + check_link_destinations(container) errors += check_fonts(container) - errors += check_filenames(container) errors += check_ids(container) + errors += check_filenames(container) errors += check_markup(container) errors += check_opf(container)