commit merge from Patralos/recipes

This commit is contained in:
smilerz
2021-03-10 10:32:47 -06:00
parent 9930789aa8
commit 3a48d0e580
5 changed files with 8 additions and 114 deletions

View File

@ -132,6 +132,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: