mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix bugs I introduced when I renamed some interface attributes
This commit is contained in:
parent
31e66b8bc5
commit
00210f4b7b
@ -149,7 +149,7 @@ class PRS505(USBMS):
|
||||
# that we do not preserve aspect ratio
|
||||
if not self.settings().extra_customization[3]:
|
||||
self.THUMBNAIL_WIDTH = 168
|
||||
# Set CAN_UPDATE_THUMBNAILS if the user has asked that thumbnails be
|
||||
# Set WANTS_UPDATED_THUMBNAILS if the user has asked that thumbnails be
|
||||
# updated on every connect
|
||||
self.WANTS_UPDATED_THUMBNAILS = self.settings().extra_customization[2]
|
||||
|
||||
|
@ -1398,7 +1398,7 @@ class DeviceMixin(object): # {{{
|
||||
|
||||
if update_metadata:
|
||||
if self.device_manager.is_device_connected:
|
||||
if self.device_manager.device.CAN_UPDATE_THUMBNAILS:
|
||||
if self.device_manager.device.WANTS_UPDATED_THUMBNAILS:
|
||||
for blist in booklists:
|
||||
for book in blist:
|
||||
if book.cover and os.access(book.cover, os.R_OK):
|
||||
|
Loading…
x
Reference in New Issue
Block a user