Vrk commited on
Commit
9b7ba00
1 Parent(s): 7450b42

code update

Browse files
Files changed (1) hide show
  1. 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['originalString']
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