mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 14:04:12 +02:00
Delay import sources.update
This commit is contained in:
parent
a0b91f252e
commit
114074c2fd
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,6 @@
|
|||
from calibre.ebooks.metadata import check_isbn
|
||||
from calibre.ebooks.metadata.book.base import Metadata
|
||||
from calibre.ebooks.metadata.sources.base import Option, Source, fixauthors, fixcase
|
||||
from calibre.ebooks.metadata.sources.update import search_engines_module
|
||||
from calibre.utils.localization import canonicalize_lang
|
||||
from calibre.utils.random_ua import accept_header_for_ua, all_user_agents
|
||||
|
||||
|
|
@ -1255,6 +1254,7 @@ def search_amazon(self, br, testing, log, abort, title, authors, identifiers, ti
|
|||
# }}}
|
||||
|
||||
def search_search_engine(self, br, testing, log, abort, title, authors, identifiers, timeout): # {{{
|
||||
from calibre.ebooks.metadata.sources.update import search_engines_module
|
||||
terms, domain = self.create_query(log, title=title, authors=authors,
|
||||
identifiers=identifiers, for_amazon=False)
|
||||
site = self.referrer_for_domain(
|
||||
|
|
|
|||
Loading…
Reference in a new issue