mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
further revision to generateThumbnail
This commit is contained in:
parent
5f84407b6e
commit
d88510f224
@ -4728,7 +4728,7 @@ Author '{0}':
|
||||
pass
|
||||
else:
|
||||
# uuid found in cache with matching crc
|
||||
thumb_data = zf.read(title['uuid'])
|
||||
thumb_data = zf.read(title['uuid']+cover_crc)
|
||||
with open(os.path.join(image_dir, thumb_file), 'wb') as f:
|
||||
f.write(thumb_data)
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user