From d35fd063bda64e8f9cc2f6c7ee592f86fbc60764 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Wed, 11 Oct 2023 16:17:10 +0200 Subject: [PATCH] Fix a "small fix" --- partitioncloud/modules/albums.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partitioncloud/modules/albums.py b/partitioncloud/modules/albums.py index c4691ef..654c278 100644 --- a/partitioncloud/modules/albums.py +++ b/partitioncloud/modules/albums.py @@ -318,7 +318,7 @@ def add_partition(album_uuid): pass flash(f"Partition {request.form['name']} ajoutée") - return redirect(request.referrer) + return redirect(f"/albums/{album.uuid}") @bp.route("/add-partition", methods=["POST"])