mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Back out only doing the smart_update if the date changes. This prevents cover thumbnails from being regenerated for different devices.
This commit is contained in:
parent
ef34e38035
commit
dde1512191
@ -1673,7 +1673,6 @@ class DeviceMixin(object): # {{{
|
|||||||
if update_metadata:
|
if update_metadata:
|
||||||
mi = db.get_metadata(id_, index_is_id=True,
|
mi = db.get_metadata(id_, index_is_id=True,
|
||||||
get_cover=get_covers)
|
get_cover=get_covers)
|
||||||
if book.get('last_modified', None) != mi.last_modified:
|
|
||||||
book.smart_update(db.get_metadata(id_,
|
book.smart_update(db.get_metadata(id_,
|
||||||
index_is_id=True,
|
index_is_id=True,
|
||||||
get_cover=get_covers),
|
get_cover=get_covers),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user