From 8e42bd34fc60611a96294683edb3e3f102964d88 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 7 Feb 2013 01:03:08 +0530 Subject: [PATCH] Fix adding books from multiple directories with multiple books per directory treating opf files as an ebook --- src/calibre/library/database2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/database2.py b/src/calibre/library/database2.py index d6362f2a76..d01c943fce 100644 --- a/src/calibre/library/database2.py +++ b/src/calibre/library/database2.py @@ -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]