aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 61b1ee61..cf38084d 100644
--- a/gn2/wqflask/edit.py
+++ b/gn2/wqflask/edit.py
@@ -12,7 +12,6 @@ from flask import (Blueprint,
request)
from gn2.wqflask.decorators import login_required
-from gn2.utility.tools import GN3_LOCAL_URL
metadata = Blueprint("metadata", __name__)
@@ -50,6 +49,7 @@ def save_dataset_metadata(
@metadata.route("/edit")
@login_required(pagename="Dataset Metadata Editing")
def metadata_edit():
+ from gn2.utility.tools import GN3_LOCAL_URL
match request.args.get("type"):
case "dcat:Dataset":
metadata = requests.get(