mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2954 (No header, extra line at bottom.)
This commit is contained in:
parent
4dc60240c1
commit
9bc7b7feed
@ -166,6 +166,11 @@ def fetch_scheduled_recipe(recipe, script):
|
|||||||
recs.append(('base_font_size', lf['base_font_size'],
|
recs.append(('base_font_size', lf['base_font_size'],
|
||||||
OptionRecommendation.HIGH))
|
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]
|
args = [script, pt.name, recs]
|
||||||
if recipe.needs_subscription:
|
if recipe.needs_subscription:
|
||||||
x = config.get('recipe_account_info_%s'%recipe.id, False)
|
x = config.get('recipe_account_info_%s'%recipe.id, False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user