From 565e6d865a057ba5d66a523e01455889830526f0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 31 Aug 2011 11:27:23 -0600 Subject: [PATCH] ... --- src/calibre/web/feeds/input.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/web/feeds/input.py b/src/calibre/web/feeds/input.py index 9b9a34be7d..59c13d28ce 100644 --- a/src/calibre/web/feeds/input.py +++ b/src/calibre/web/feeds/input.py @@ -98,10 +98,10 @@ class RecipeInput(InputFormatPlugin): raise ValueError('%r is not a valid recipe file or builtin recipe' % recipe_or_file) - ro = recipe(opts, log, self.report_progress) - disabled = getattr(ro, 'recipe_disabled', None) + disabled = getattr(recipe, 'recipe_disabled', None) if disabled is not None: raise RecipeDisabled(disabled) + ro = recipe(opts, log, self.report_progress) ro.download() self.recipe_object = ro