diff options
-rw-r--r-- | gn2/wqflask/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index 562976b1..4b003613 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -312,7 +312,7 @@ def gnqna(): @app.route("/editor/", methods=["GET"]) def edit_gn_doc_file(): - file_path = request.args.get("file_path", "") + file_path = request.args.get("file-path", "") response = requests.get(f"http://localhost:8091/edit?file_path={file_path}") response.raise_for_status() return render_template("gn_editor.html", **response.json()) |