kitchenowl icon indicating copy to clipboard operation
kitchenowl copied to clipboard

fix: handle case when parsed.name is single item

Open crosspolar opened this issue 8 months ago • 0 comments

Resolves #719 If you can reproduce the problem, we can pass the problem on to the maintainer of IngredientParser, that only one list will be returned in the future.

I removed your length-check because an empty list is evaluated as False, so if parsed.name is only True if the list is not empty. With the below nlpAmountToDescription i hadn't a problem yet

crosspolar avatar Apr 21 '25 18:04 crosspolar