This commit is contained in:
Kovid Goyal 2021-02-21 16:39:55 +05:30
parent 59d43a21c7
commit 8dd82b116e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 2 additions and 5 deletions

View File

@ -85,7 +85,7 @@ class KOBO(USBMS):
dbversion = 0
fwversion = (0,0,0)
# The firmware for these devices is not being updated. But the Kobo desktop application
# The firmware for these devices is not being updated. But the Kobo desktop application
# will update the database if the device is connected. The database structure is completely
# backwardly compatible.
supported_dbversion = 162
@ -164,7 +164,6 @@ class KOBO(USBMS):
OPT_SHOW_RECOMMENDATIONS = 5
OPT_SUPPORT_NEWER_FIRMWARE = 6
def __init__(self, *args, **kwargs):
USBMS.__init__(self, *args, **kwargs)
self.plugboards = self.plugboard_func = None

View File

@ -407,7 +407,7 @@ class CoversGroupBox(DeviceOptionsGroupBox):
@property
def letterbox_fs_covers_color(self):
return self.letterbox_fs_covers_color_button.color
@property
def png_covers(self):
return self.png_covers_checkbox.isChecked()

View File

@ -46,7 +46,6 @@ class BiblioStore(BasicStoreConfig, StorePlugin):
url = '{}/книги?query={}&search_by=0'.format(self.web_url, quote_plus(query))
yield from self._do_search(url, max_results, timeout)
def get_details(self, search_result, timeout):
br = browser()
with closing(br.open(search_result.detail_item, timeout=timeout)) as nf:
@ -67,7 +66,6 @@ class BiblioStore(BasicStoreConfig, StorePlugin):
return True
def _do_search(self, url, max_results, timeout):
br = browser()
with closing(br.open(url, timeout=timeout)) as f: