aboutsummaryrefslogtreecommitdiff
path: root/gn3/db/case_attributes.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-07-10 11:36:47 +0300
committerFrederick Muriuki Muriithi2023-07-10 11:36:47 +0300
commitc6ac30d4ccc26553a12e8c37cdf9078cbe9084b3 (patch)
treea40cea1c2b129e0e37b70d42c6f87fe51a5ec178 /gn3/db/case_attributes.py
parentedebea34ac6545909737ce9540e9d51858550873 (diff)
downloadgenenetwork3-c6ac30d4ccc26553a12e8c37cdf9078cbe9084b3.tar.gz
Fix linting errors caused by bump to Python 3.10migrate-to-python3.10
Diffstat (limited to 'gn3/db/case_attributes.py')
-rw-r--r--gn3/db/case_attributes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/db/case_attributes.py b/gn3/db/case_attributes.py
index 1d82f00..0794c0b 100644
--- a/gn3/db/case_attributes.py
+++ b/gn3/db/case_attributes.py
@@ -90,7 +90,8 @@ def approve_case_attribute(conn: Any, case_attr_audit_id: int) -> int:
elif diff_data.get("Deletion"):
data = diff_data.get("Deletion")
cursor.execute(
- "DELETE FROM CaseAttribute " "WHERE Id = %s",
+ "DELETE FROM CaseAttribute "
+ "WHERE Id = %s",
(data.get("id"),),
)
# Modification