From 00210f4b7b397094ec0b77278a33c07ef98a9268 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Tue, 1 Feb 2011 15:16:44 +0000 Subject: [PATCH] Fix bugs I introduced when I renamed some interface attributes --- src/calibre/devices/prs505/driver.py | 2 +- src/calibre/gui2/device.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/devices/prs505/driver.py b/src/calibre/devices/prs505/driver.py index 4d3ac31540..3768b8be62 100644 --- a/src/calibre/devices/prs505/driver.py +++ b/src/calibre/devices/prs505/driver.py @@ -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] diff --git a/src/calibre/gui2/device.py b/src/calibre/gui2/device.py index bf8c734089..ae38a8321b 100644 --- a/src/calibre/gui2/device.py +++ b/src/calibre/gui2/device.py @@ -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):