code update
Browse files- RecipeData.py +1 -1
RecipeData.py
CHANGED
@@ -35,7 +35,7 @@ def fetchRecipeData(foodName, apiKey = API_KEY):
|
|
35 |
# recipe ingredients
|
36 |
recipe_Ingredients = all_recipe_json_data['extendedIngredients']
|
37 |
for i, dict in enumerate(recipe_Ingredients):
|
38 |
-
recipe_Ingredients[i] = dict['
|
39 |
Ingredients = ', '.join(recipe_Ingredients)
|
40 |
|
41 |
# caloric Breakdow of recipe
|
|
|
35 |
# recipe ingredients
|
36 |
recipe_Ingredients = all_recipe_json_data['extendedIngredients']
|
37 |
for i, dict in enumerate(recipe_Ingredients):
|
38 |
+
recipe_Ingredients[i] = dict['originalName']
|
39 |
Ingredients = ', '.join(recipe_Ingredients)
|
40 |
|
41 |
# caloric Breakdow of recipe
|