This commit is contained in:
Kovid Goyal 2010-02-12 09:13:11 -07:00
commit bcf0e6c146

View File

@ -833,7 +833,7 @@ class EPUB_MOBI(CatalogPlugin):
def buildSources(self): def buildSources(self):
if self.booksByTitle is None: if self.booksByTitle is None:
self.fetchBooksByTitle() self.fetchBooksByTitle()
if self.booksByTitle is None: if not len(self.booksByTitle):
return False return False
self.fetchBooksByAuthor() self.fetchBooksByAuthor()
self.generateHTMLDescriptions() self.generateHTMLDescriptions()
@ -3242,6 +3242,8 @@ class EPUB_MOBI(CatalogPlugin):
OptionRecommendation.HIGH)) OptionRecommendation.HIGH))
recommendations.append(('no_inline_toc', True, recommendations.append(('no_inline_toc', True,
OptionRecommendation.HIGH)) OptionRecommendation.HIGH))
recommendations.append(('book_producer',opts.output_profile,
OptionRecommendation.HIGH))
# Run ebook-convert # Run ebook-convert
from calibre.ebooks.conversion.plumber import Plumber from calibre.ebooks.conversion.plumber import Plumber