mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
commit
0634dc1b32
@ -64,7 +64,7 @@ class KOBO(USBMS):
|
|||||||
gui_name = 'Kobo Reader'
|
gui_name = 'Kobo Reader'
|
||||||
description = _('Communicate with the Kobo Reader')
|
description = _('Communicate with the Kobo Reader')
|
||||||
author = 'Timothy Legge and David Forrester'
|
author = 'Timothy Legge and David Forrester'
|
||||||
version = (2, 1, 11)
|
version = (2, 2, 0)
|
||||||
|
|
||||||
dbversion = 0
|
dbversion = 0
|
||||||
fwversion = 0
|
fwversion = 0
|
||||||
@ -910,6 +910,13 @@ class KOBO(USBMS):
|
|||||||
def collections_columns(self):
|
def collections_columns(self):
|
||||||
opts = self.settings()
|
opts = self.settings()
|
||||||
return opts.extra_customization[self.OPT_COLLECTIONS]
|
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):
|
def sync_booklists(self, booklists, end_session=True):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user