aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/views.py')
-rw-r--r--gn2/wqflask/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py
index 5c856b77..29df7596 100644
--- a/gn2/wqflask/views.py
+++ b/gn2/wqflask/views.py
@@ -1620,6 +1620,9 @@ def edit_wiki(comment_id: int):
)
if request.method == "POST":
post_data = request.form
+ web_url = post_data["web_url"]
+ if web_url == "http://": # default prefilled value in form
+ web_url = ""
payload = {
"symbol": post_data["symbol"],
"pubmed_ids": [x.strip() for x in post_data["pubmed_ids"].split()],