From 9bc7b7feed710beec1484e0fc0e5253cb43c359d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 27 Jul 2009 14:16:08 -0600 Subject: [PATCH] Fix #2954 (No header, extra line at bottom.) --- src/calibre/gui2/tools.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/calibre/gui2/tools.py b/src/calibre/gui2/tools.py index d146f2ab5e..25c7a7f363 100644 --- a/src/calibre/gui2/tools.py +++ b/src/calibre/gui2/tools.py @@ -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)