mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-06 11:24:31 +01:00
Fix #2954 (No header, extra line at bottom.)
This commit is contained in:
parent
4dc60240c1
commit
9bc7b7feed
1 changed files with 5 additions and 0 deletions
|
|
@ -166,6 +166,11 @@ def fetch_scheduled_recipe(recipe, script):
|
|||
recs.append(('base_font_size', lf['base_font_size'],
|
||||
OptionRecommendation.HIGH))
|
||||
|
||||
lr = load_defaults('lrf_output')
|
||||
if lr.get('header', False):
|
||||
recs.append(('header', True, OptionRecommendation.HIGH))
|
||||
recs.append(('header_format', '%t', OptionRecommendation.HIGH))
|
||||
|
||||
args = [script, pt.name, recs]
|
||||
if recipe.needs_subscription:
|
||||
x = config.get('recipe_account_info_%s'%recipe.id, False)
|
||||
|
|
|
|||
Loading…
Reference in a new issue