From d63553aceffe8af1cfa706d8117982eefd6a42c2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 2 Nov 2012 07:02:38 +0530 Subject: [PATCH] Kobo driver: Fix a bug that could cause the on device book matching to fail in certain circumstances. Fixes #1072437 (Books in devices are not recognized as 'in library') --- src/calibre/devices/kobo/driver.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index 34ddf21ed3..dbc89d071c 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -1440,8 +1440,9 @@ class KOBOTOUCH(KOBO): debug_print('KoboTouch:update_booklist - the authors=', bl[idx].authors) debug_print('KoboTouch:update_booklist - application_id=', bl[idx].application_id) bl_cache[lpath] = None - if bl[idx].title_sort is not None: - bl[idx].title = bl[idx].title_sort + # removed to allow recognizing of ePub with an UUID inside + # if bl[idx].title_sort is not None: + # bl[idx].title = bl[idx].title_sort if ImageID is not None: imagename = self.imagefilename_from_imageID(ImageID) if imagename is not None: