diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index 38d23c8cb8..daea5972f3 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -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 diff --git a/src/calibre/devices/kobo/kobotouch_config.py b/src/calibre/devices/kobo/kobotouch_config.py index cc53e3eecb..fd24ba62ff 100644 --- a/src/calibre/devices/kobo/kobotouch_config.py +++ b/src/calibre/devices/kobo/kobotouch_config.py @@ -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() diff --git a/src/calibre/gui2/store/stores/biblio_plugin.py b/src/calibre/gui2/store/stores/biblio_plugin.py index fa2f874065..c59b67cfc8 100644 --- a/src/calibre/gui2/store/stores/biblio_plugin.py +++ b/src/calibre/gui2/store/stores/biblio_plugin.py @@ -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: