This commit is contained in:
Kovid Goyal 2022-05-03 20:09:01 +05:30
parent c1f6765fce
commit 1e91f0a659
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 4 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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):