mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
c1f6765fce
commit
1e91f0a659
@ -2,15 +2,14 @@ __license__ = 'GPL v3'
|
||||
__copyright__ = '2010-2012, , Timothy Legge <timlegge at gmail.com> and David Forrester <davidfor@internode.on.net>'
|
||||
__docformat__ = 'restructuredtext en'
|
||||
|
||||
import os, time, sys
|
||||
from functools import cmp_to_key
|
||||
import os, time
|
||||
|
||||
from calibre.constants import preferred_encoding, DEBUG
|
||||
from calibre import isbytestring
|
||||
|
||||
from calibre.ebooks.metadata.book.base import Metadata
|
||||
from calibre.ebooks.metadata.book.formatter import SafeFormat
|
||||
from calibre.devices.usbms.books import Book as Book_, CollectionsBookList, none_cmp
|
||||
from calibre.devices.usbms.books import Book as Book_, CollectionsBookList
|
||||
from calibre.utils.config_base import prefs
|
||||
from calibre.devices.usbms.driver import debug_print
|
||||
from calibre.ebooks.metadata import author_to_author_sort
|
||||
|
@ -3889,7 +3889,6 @@ class KOBOTOUCH(KOBO):
|
||||
def has_activity_table(self):
|
||||
return self.dbversion >= self.min_dbversion_activity
|
||||
|
||||
|
||||
def modify_database_check(self, function):
|
||||
# Checks to see whether the database version is supported
|
||||
# and whether the user has chosen to support the firmware version
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
|
||||
__license__ = 'GPL v3'
|
||||
__copyright__ = '2015-2019, Kovid Goyal <kovid at kovidgoyal.net>'
|
||||
__docformat__ = 'restructuredtext en'
|
||||
@ -757,9 +756,6 @@ class MetadataGroupBox(DeviceOptionsGroupBox):
|
||||
return self.bookstats_timetoread_upper_template_edit.template
|
||||
|
||||
|
||||
from calibre.gui2.dialogs.template_line_editor import TemplateLineEditor
|
||||
|
||||
|
||||
class TemplateConfig(QWidget): # {{{
|
||||
|
||||
def __init__(self, val, label=None, tooltip=None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user