From c2a91c5d9eeab7f6f3513debbb26e1fc5132e808 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Mon, 3 May 2021 16:58:08 -0800 Subject: [PATCH] format --- mealie/routes/recipe/recipe_crud_routes.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mealie/routes/recipe/recipe_crud_routes.py b/mealie/routes/recipe/recipe_crud_routes.py index c7f964dcf..82f8b2073 100644 --- a/mealie/routes/recipe/recipe_crud_routes.py +++ b/mealie/routes/recipe/recipe_crud_routes.py @@ -97,9 +97,7 @@ def delete_recipe( try: recipe: Recipe = db.recipes.delete(session, recipe_slug) delete_assets(recipe_slug=recipe_slug) - create_recipe_event( - "Recipe Deleted", f"'{recipe.name}' deleted by {current_user.full_name}", session=session - ) + create_recipe_event("Recipe Deleted", f"'{recipe.name}' deleted by {current_user.full_name}", session=session) return recipe except Exception: raise HTTPException(status.HTTP_400_BAD_REQUEST)