Fix auto refresh covers option on the T1 driver (I think)

This commit is contained in:
Kovid Goyal 2011-10-28 18:55:13 +05:30
parent 44c51dea0f
commit be3c3156b2

View File

@ -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):