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:
Kovid Goyal 2012-10-06 11:07:08 +05:30
parent 6926dcbdb8
commit 1447f12575

View File

@ -3664,7 +3664,7 @@ books_series_link feeds
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]