mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
59d43a21c7
commit
8dd82b116e
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user