corrections on comments and accents striping in all recipe backends
This commit is contained in:
parent
b6c17ed90c
commit
8ec69cdcd2
6 changed files with 36 additions and 26 deletions
|
|
@ -46,7 +46,7 @@ class SevenFiftyGramsBackend(BaseBackend, ICapRecipe):
|
|||
return self.browser.get_recipe(id)
|
||||
|
||||
def iter_recipes(self, pattern):
|
||||
return self.browser.iter_recipes(strip_accents(pattern).encode('utf-8'))
|
||||
return self.browser.iter_recipes(strip_accents(unicode(pattern)).encode('utf-8'))
|
||||
|
||||
def fill_recipe(self, recipe, fields):
|
||||
if 'nb_person' in fields or 'instructions' in fields:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue