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