mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 16:03:37 +02:00
GwR patch for bogus cover data
This commit is contained in:
parent
c5a679a437
commit
8a44bf07ed
1 changed files with 1 additions and 1 deletions
|
|
@ -2862,7 +2862,7 @@ def generateThumbnails(self):
|
|||
(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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue