diff options
author | Munyoki Kilyungi | 2024-02-26 22:03:37 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-03-26 10:01:13 +0300 |
commit | 8705a225dfcab5ad7cc07f0abf73c457e5a75686 (patch) | |
tree | e6137f10eefd7695d1ccc3c6b9b556c7033c8492 | |
parent | e63dcb43307ffa50fab4e4e05d0222f6809684c4 (diff) | |
download | genenetwork2-8705a225dfcab5ad7cc07f0abf73c457e5a75686.tar.gz |
Replace Path construct with a format string.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | gn2/wqflask/edit.py | 2 |
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')}" ) |