added support for unit/amount at end of ingredient

This commit is contained in:
vabene1111
2022-04-23 13:53:04 +02:00
parent 012a1a7915
commit e0b7d1a8f0
3 changed files with 10 additions and 2 deletions

View File

@@ -666,7 +666,7 @@ def test(request):
parser = IngredientParser(request, False)
data = {
'original': 'Pane (raffermo o secco) 80 g'
'original': 'Creme Frainche'
}
data['parsed'] = parser.parse(data['original'])