mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-05 06:08:46 -05:00
fixed property helper bug with non food ingredients
This commit is contained in:
@@ -39,6 +39,7 @@ class FoodPropertyHelper:
|
||||
uch = UnitConversionHelper(self.space)
|
||||
|
||||
for i in ingredients:
|
||||
if i.food is not None:
|
||||
conversions = uch.get_conversions(i)
|
||||
for pt in property_types:
|
||||
found_property = False
|
||||
|
||||
Reference in New Issue
Block a user