aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-02-26 22:03:37 +0300
committerBonfaceKilz2024-03-26 10:01:13 +0300
commit8705a225dfcab5ad7cc07f0abf73c457e5a75686 (patch)
treee6137f10eefd7695d1ccc3c6b9b556c7033c8492 /gn2
parente63dcb43307ffa50fab4e4e05d0222f6809684c4 (diff)
downloadgenenetwork2-8705a225dfcab5ad7cc07f0abf73c457e5a75686.tar.gz
Replace Path construct with a format string.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/edit.py2
1 files changed, 1 insertions, 1 deletions
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')}"
)