From a28bbf88408ea432347ddb3dc0227fc898a2c931 Mon Sep 17 00:00:00 2001 From: Hayden Date: Sun, 10 Jan 2021 13:23:36 -0900 Subject: [PATCH] fixed scraper error --- mealie/routes/recipe_routes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mealie/routes/recipe_routes.py b/mealie/routes/recipe_routes.py index a76503ea4..9a09d2814 100644 --- a/mealie/routes/recipe_routes.py +++ b/mealie/routes/recipe_routes.py @@ -91,6 +91,7 @@ def update_recipe_image( ): """ Removes an existing image and replaces it with the incoming file. """ response = write_image(recipe_slug, image, extension) + Recipe.update_image(recipe_slug, extension) return response