fixed property helper bug with non food ingredients
This commit is contained in:
parent
cadf14c338
commit
a65e93a9b3
@ -39,6 +39,7 @@ class FoodPropertyHelper:
|
|||||||
uch = UnitConversionHelper(self.space)
|
uch = UnitConversionHelper(self.space)
|
||||||
|
|
||||||
for i in ingredients:
|
for i in ingredients:
|
||||||
|
if i.food is not None:
|
||||||
conversions = uch.get_conversions(i)
|
conversions = uch.get_conversions(i)
|
||||||
for pt in property_types:
|
for pt in property_types:
|
||||||
found_property = False
|
found_property = False
|
||||||
|
Loading…
Reference in New Issue
Block a user