1
0
mirror of https://github.com/TandoorRecipes/recipes.git synced 2026-01-11 00:58:32 -05:00

commit merge from Patralos/recipes

This commit is contained in:
smilerz
2021-03-10 10:32:47 -06:00
parent 91e36eb222
commit 34ff484830
4 changed files with 6 additions and 112 deletions

View File

@@ -151,6 +151,7 @@ def parse_ingredients(ingredients):
for x in ingredients:
if x.replace(' ', '') != '':
x = x.replace('½', "0.5").replace('¼', "0.25").replace('¾', "0.75")
try:
amount, unit, ingredient, note = parse_single_ingredient(x)
if ingredient: