From 9b988d50372a3a3bf44ba8ea7419b6c9ecfa795b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 10 Sep 2012 21:31:05 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/conversion/plugins/recipe_input.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/calibre/ebooks/conversion/plugins/recipe_input.py b/src/calibre/ebooks/conversion/plugins/recipe_input.py index 790c63badd..9bd4077528 100644 --- a/src/calibre/ebooks/conversion/plugins/recipe_input.py +++ b/src/calibre/ebooks/conversion/plugins/recipe_input.py @@ -66,6 +66,7 @@ class RecipeInput(InputFormatPlugin): if os.access(recipe_or_file, os.R_OK): self.recipe_source = open(recipe_or_file, 'rb').read() recipe = compile_recipe(self.recipe_source) + log('Using custom recipe') else: from calibre.web.feeds.recipes.collection import \ get_builtin_recipe_by_title @@ -87,12 +88,15 @@ class RecipeInput(InputFormatPlugin): 'back to builtin one') builtin = True if builtin: + log('Using bundled builtin recipe') raw = get_builtin_recipe_by_title(title, log=log, download_recipe=False) if raw is None: raise ValueError('Failed to find builtin recipe: '+title) recipe = compile_recipe(raw) self.recipe_source = raw + else: + log('Using downloaded builtin recipe') if recipe is None: raise ValueError('%r is not a valid recipe file or builtin recipe' %