mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 20:43:43 +02:00
Fix regression that caused calibre to not use OPF files when adding books recursively from directories with multiple books per directory
This commit is contained in:
parent
6926dcbdb8
commit
1447f12575
1 changed files with 1 additions and 1 deletions
|
|
@ -3664,7 +3664,7 @@ def find_books_in_directory(self, dirpath, single_book_per_directory):
|
|||
if not ext:
|
||||
continue
|
||||
ext = ext[1:].lower()
|
||||
if ext not in BOOK_EXTENSIONS:
|
||||
if ext not in BOOK_EXTENSIONS and ext != 'opf':
|
||||
continue
|
||||
|
||||
key = os.path.splitext(path)[0]
|
||||
|
|
|
|||
Loading…
Reference in a new issue