From 142c96e91d896b2e7c0cba0762d8d2b5b12eb432 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 9 Dec 2022 17:52:32 +0530 Subject: [PATCH] pep8 --- src/calibre/library/check_library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/check_library.py b/src/calibre/library/check_library.py index d49cb2b686..02926c3f3d 100644 --- a/src/calibre/library/check_library.py +++ b/src/calibre/library/check_library.py @@ -182,7 +182,7 @@ class CheckLibrary: filenames = frozenset(f for f in os.listdir(os.path.join(lib, db_path)) if not self.ignore_name(f) and ( os.path.splitext(f)[1] not in self.ignore_ext or - f == 'cover.jpg' )) + f == 'cover.jpg')) book_id = int(book_id) formats = frozenset(filter(self.is_ebook_file, filenames)) book_formats = frozenset(x[0]+'.'+x[1].lower() for x in