Kobo driver: Fix a regression in the last release that broke connecting to older devices

Fixes #1596801 [Unable to connect to Kobo](https://bugs.launchpad.net/calibre/+bug/1596801)
Merge branch 'master' of https://github.com/davidfor/calibre
This commit is contained in:
Kovid Goyal 2016-06-28 18:09:41 +05:30
commit 0634dc1b32

View File

@ -64,7 +64,7 @@ class KOBO(USBMS):
gui_name = 'Kobo Reader'
description = _('Communicate with the Kobo Reader')
author = 'Timothy Legge and David Forrester'
version = (2, 1, 11)
version = (2, 2, 0)
dbversion = 0
fwversion = 0
@ -910,6 +910,13 @@ class KOBO(USBMS):
def collections_columns(self):
opts = self.settings()
return opts.extra_customization[self.OPT_COLLECTIONS]
@property
def read_metadata(self):
return self.settings().read_metadata
@property
def show_previews(self):
opts = self.settings()
return opts.extra_customization[self.OPT_SHOW_PREVIEWS] == False
def sync_booklists(self, booklists, end_session=True):