Skip to content

Commit

Permalink
fixerd serving size parsing in property importer
Browse files Browse the repository at this point in the history
  • Loading branch information
vabene1111 committed Feb 17, 2024
1 parent 0989a58 commit 4869f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/helper/recipe_url_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def get_recipe_properties(space, property_data):
'id': pt.id,
'name': pt.name,
},
'property_amount': parse_servings(property_data[properties[p]]) / float(property_data['servingSize']),
'property_amount': parse_servings(property_data[properties[p]]) / parse_servings(property_data['servingSize']),
})

return recipe_properties
Expand Down

0 comments on commit 4869f95

Please sign in to comment.