mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1596801 - Unable to connect to Kobo
Missed adding some properties for the KOBO driver that is used by the older devices.
This commit is contained in:
parent
4c3dca05ae
commit
6da4a6c7b2
@ -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