mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-20 09:35:13 +01:00
...
This commit is contained in:
parent
c3014e5920
commit
bb87507909
1 changed files with 1 additions and 2 deletions
|
|
@ -12,7 +12,6 @@
|
|||
from calibre.ebooks import BOOK_EXTENSIONS
|
||||
|
||||
EBOOK_EXTENSIONS = frozenset(BOOK_EXTENSIONS)
|
||||
|
||||
NORMALS = frozenset(['metadata.opf', 'cover.jpg'])
|
||||
|
||||
CHECKS = [('invalid_titles', _('Invalid titles')),
|
||||
|
|
@ -42,7 +41,7 @@ def __init__(self, library_path, db):
|
|||
self.all_lc_dbpaths = frozenset([f.lower() for f in self.all_dbpaths])
|
||||
|
||||
self.db_id_regexp = re.compile(r'^.* \((\d+)\)$')
|
||||
self.bad_ext_pat = re.compile(r'[^a-z]+')
|
||||
self.bad_ext_pat = re.compile(r'[^a-z0-9]+')
|
||||
|
||||
self.dirs = []
|
||||
self.book_dirs = []
|
||||
|
|
|
|||
Loading…
Reference in a new issue