Fix adding books from multiple directories with multiple books per directory treating opf files as an ebook

This commit is contained in:
Kovid Goyal 2013-02-07 01:03:08 +05:30
parent b95c2d245e
commit 8e42bd34fc

View File

@ -3739,7 +3739,7 @@ books_series_link feeds
if not ext:
continue
ext = ext[1:].lower()
if ext not in BOOK_EXTENSIONS and ext != 'opf':
if ext not in BOOK_EXTENSIONS:
continue
key = os.path.splitext(path)[0]