🚧 fix various small things
This commit is contained in:
parent
7e462dfa18
commit
55fbdc47ab
37 changed files with 79 additions and 76 deletions
|
@ -23,7 +23,7 @@ def normalize_ingredients(recipe):
|
|||
ingredient.replace('.0 ', ' ') for ingredient in recipe['recipeIngredient']
|
||||
]
|
||||
recipe['recipeIngredient'] = [
|
||||
re.sub("^0 (g|kg|Milliliter) ", "", ingredient) for ingredient in recipe['recipeIngredient']
|
||||
re.sub("^0 (g|kg|Milliliter|None) ", "", ingredient) for ingredient in recipe['recipeIngredient']
|
||||
]
|
||||
recipe['recipeIngredient'] = [
|
||||
ingredient \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue