mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
cd1c550cde
commit
142c96e91d
@ -182,7 +182,7 @@ class CheckLibrary:
|
|||||||
filenames = frozenset(f for f in os.listdir(os.path.join(lib, db_path))
|
filenames = frozenset(f for f in os.listdir(os.path.join(lib, db_path))
|
||||||
if not self.ignore_name(f) and (
|
if not self.ignore_name(f) and (
|
||||||
os.path.splitext(f)[1] not in self.ignore_ext or
|
os.path.splitext(f)[1] not in self.ignore_ext or
|
||||||
f == 'cover.jpg' ))
|
f == 'cover.jpg'))
|
||||||
book_id = int(book_id)
|
book_id = int(book_id)
|
||||||
formats = frozenset(filter(self.is_ebook_file, filenames))
|
formats = frozenset(filter(self.is_ebook_file, filenames))
|
||||||
book_formats = frozenset(x[0]+'.'+x[1].lower() for x in
|
book_formats = frozenset(x[0]+'.'+x[1].lower() for x in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user