From be3c3156b20c19741088fb1c6c4e337a03d08cd6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 28 Oct 2011 18:55:13 +0530 Subject: [PATCH] Fix auto refresh covers option on the T1 driver (I think) --- src/calibre/devices/prst1/driver.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/calibre/devices/prst1/driver.py b/src/calibre/devices/prst1/driver.py index d062a2ccfe..2e4e082324 100644 --- a/src/calibre/devices/prst1/driver.py +++ b/src/calibre/devices/prst1/driver.py @@ -112,9 +112,11 @@ class PRST1(USBMS): def post_open_callback(self): # Set the thumbnail width to the theoretical max if the user has asked # that we do not preserve aspect ratio - if not self.settings().extra_customization[self.OPT_PRESERVE_ASPECT_RATIO]: + ec = self.settings().extra_customization + if not ec[self.OPT_PRESERVE_ASPECT_RATIO]: self.THUMBNAIL_WIDTH = 108 # Make sure the date offset is set to none, we'll calculate it in books. + self.WANTS_UPDATED_THUMBNAILS = ec[self.OPT_REFRESH_COVERS] self.device_offset = None def windows_filter_pnp_id(self, pnp_id):