aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-27 15:05:47 +0300
committerBonfaceKilz2021-10-28 08:34:35 +0300
commitea1de9bffd36dbd7417ff24b9a0caab1e3449081 (patch)
treefaaebb4092d48ae3c29ed9291615a8019453e3b8 /wqflask
parentbf71e24e7e471c99b650c5250d0ee9e692e4a6fd (diff)
downloadgenenetwork2-ea1de9bffd36dbd7417ff24b9a0caab1e3449081.tar.gz
Prefer tuples over lists
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/metadata_edits.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py
index 690f04c2..d232b32b 100644
--- a/wqflask/wqflask/metadata_edits.py
+++ b/wqflask/wqflask/metadata_edits.py
@@ -281,7 +281,7 @@ def update_phenotype(dataset_id: str, name: str):
f"?resource-id={request.args.get('resource-id')}")
-@metadata_edit.route("/traits/<name>", methods=["POST"])
+@metadata_edit.route("/traits/<name>", methods=("POST",))
@edit_access_required
def update_probeset(name: str):
conn = MySQLdb.Connect(db=current_app.config.get("DB_NAME"),