aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2022-05-24 12:46:46 +0300
committerBonfaceKilz2022-05-27 15:17:52 +0300
commit656bbc68768b7032b205862bcaa081f6d813223d (patch)
treed3259017a3b9c0d172a4633f80420f7057131c45
parent9749c4564cc6875f6e885d3fb5ff4878f3a6e8dc (diff)
downloadgenenetwork2-656bbc68768b7032b205862bcaa081f6d813223d.tar.gz
Pass secend arg to cursor.execute as a tuple
-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 1a4d6f8d..8b3fd861 100644
--- a/wqflask/wqflask/metadata_edits.py
+++ b/wqflask/wqflask/metadata_edits.py
@@ -797,7 +797,7 @@ def reject_case_attribute_data():
cursor.execute(
"UPDATE caseattributes_audit SET "
"status = 'rejected' WHERE id = %s",
- case_attr_id
+ (case_attr_id, )
)
except Exception as _e:
import MySQLdb