diff --git a/src/calibre/library/catalog.py b/src/calibre/library/catalog.py index 1af9c3aa58..df1341fc38 100644 --- a/src/calibre/library/catalog.py +++ b/src/calibre/library/catalog.py @@ -2862,7 +2862,7 @@ class EPUB_MOBI(CatalogPlugin): (i,len(self.booksByTitle)), i/float(len(self.booksByTitle))) - # Confirm existence, integrity of cover image + thumb_file = 'thumbnail_%d.jpg' % int(title['id']) valid_cover = True try: _w, _h, _fmt = identify_data(open(title['cover'], 'rb').read())