From 1447f1257581a3f8d95e4a91e38528304edcd878 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 6 Oct 2012 11:07:08 +0530 Subject: [PATCH] Fix regression that caused calibre to not use OPF files when adding books recursively from directories with multiple books per directory --- 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 07747180f1..5b4f7eec7e 100644 --- a/src/calibre/library/database2.py +++ b/src/calibre/library/database2.py @@ -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]