mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 09:04:27 +01:00
GwR fix for empty booksByTitle, add profile to metadata
This commit is contained in:
parent
a53b71a02c
commit
2153d224ea
1 changed files with 3 additions and 1 deletions
|
|
@ -833,7 +833,7 @@ def fget(self):
|
|||
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 @@ def run(self, path_to_output, opts, db, notification=DummyReporter()):
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue