Commit 1233a9f5 authored by zwifi's avatar zwifi
Browse files

Fixed typo for target json file

parent 13e76d87
...@@ -13,5 +13,5 @@ with open("recipes.json", "w") as recipe_f: ...@@ -13,5 +13,5 @@ with open("recipes.json", "w") as recipe_f:
food_r = requests.get('') food_r = requests.get('')
print("Recipes request status code: "+str(food_r.status_code)) print("Recipes request status code: "+str(food_r.status_code))
with open("recipes.json", "w") as food_f: with open("food.json", "w") as food_f:
food_f.write(json.dumps(food_r.json(), indent=2)) food_f.write(json.dumps(food_r.json(), indent=2))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment