improved ingredient parser handling of amount unit without space

This commit is contained in:
vabene1111
2022-11-09 14:24:12 +01:00
parent 16d0fc38f9
commit 24f331c208
3 changed files with 6 additions and 2 deletions

View File

@@ -438,7 +438,7 @@ def test(request):
parser = IngredientParser(request, False)
data = {
'original': '1 Porreestange(n) , ca. 200 g'
'original': '90g golden syrup'
}
data['parsed'] = parser.parse(data['original'])