From 8705a225dfcab5ad7cc07f0abf73c457e5a75686 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 26 Feb 2024 22:03:37 +0300 Subject: Replace Path construct with a format string. Signed-off-by: Munyoki Kilyungi --- gn2/wqflask/edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn2/wqflask') diff --git a/gn2/wqflask/edit.py b/gn2/wqflask/edit.py index 64cc10c6..a3e684cf 100644 --- a/gn2/wqflask/edit.py +++ b/gn2/wqflask/edit.py @@ -103,5 +103,5 @@ def save(): ) ) return redirect( - Path("/datasets", request.form.get('label')) + f"/datasets/{request.form.get('label')}" ) -- cgit v1.2.3