fix bugs in marmiton and 750g
This commit is contained in:
parent
93c5935972
commit
c4fc3df50a
6 changed files with 23 additions and 15 deletions
|
|
@ -43,7 +43,7 @@ class MarmitonModule(Module, CapRecipe):
|
|||
return self.browser.iter_recipes(quote_plus(pattern.encode('utf-8')))
|
||||
|
||||
def fill_recipe(self, recipe, fields):
|
||||
if 'nb_person' in fields or 'instructions' in fields:
|
||||
if 'nb_person' in fields or 'instructions' in fields or 'thumbnail_url' in fields:
|
||||
recipe = self.browser.get_recipe(recipe.id, recipe)
|
||||
return recipe
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue