From afa9120940c9d5a30e9f8bd1118ff1e8ce07687c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 4 Feb 2019 11:18:59 +0530 Subject: [PATCH] EPUB/MOBI Catalogs: Fix multiple books with the same title but different authors in a genre not being listed. Fixes #1415990 [Duplicate titles not showing in catalog](https://bugs.launchpad.net/calibre/+bug/1415990) --- src/calibre/library/catalogs/epub_mobi_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/catalogs/epub_mobi_builder.py b/src/calibre/library/catalogs/epub_mobi_builder.py index 0a4c2c981b..b0aa19c818 100644 --- a/src/calibre/library/catalogs/epub_mobi_builder.py +++ b/src/calibre/library/catalogs/epub_mobi_builder.py @@ -2107,7 +2107,7 @@ class CatalogBuilder(object): new_book = None if key == normalized_tag: for book in existing_genre[key]: - if book['title'] == this_book['title']: + if (book['title'], book['author']) == (this_book['title'], this_book['author']): new_book = False break else: