Fix a regression that broke downloading news when output format is set to PDF

This commit is contained in:
Kovid Goyal
2013-08-27 10:27:27 +05:30
parent 4751aa1286
commit 121469daa5
+1 -1
View File
@@ -291,7 +291,7 @@ def fetch_scheduled_recipe(arg): # {{{
from calibre.customize.ui import plugin_for_output_format
p = plugin_for_output_format('pdf')
for opt in p.options:
recs.append(opt.name, pdf.get(opt.name, opt.recommended_value), OptionRecommendation.HIGH)
recs.append((opt.option.name, pdf.get(opt.option.name, opt.recommended_value), OptionRecommendation.HIGH))
args = [arg['recipe'], pt.name, recs]
if arg['username'] is not None: