mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
e9df183e76
commit
565e6d865a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user