Fix #2954 (No header, extra line at bottom.)

This commit is contained in:
Kovid Goyal 2009-07-27 14:16:08 -06:00
parent 4dc60240c1
commit 9bc7b7feed

View File

@ -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)