From 6e9cac9c172b1aec408de1c839dad3e7048cf4d1 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 1 Jul 2025 10:14:39 +0300 Subject: Return true at the end of for loop when updating case attributes. Signed-off-by: Munyoki Kilyungi --- gn3/db/case_attributes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/db/case_attributes.py') diff --git a/gn3/db/case_attributes.py b/gn3/db/case_attributes.py index b8ad03b..48d77c7 100644 --- a/gn3/db/case_attributes.py +++ b/gn3/db/case_attributes.py @@ -127,7 +127,7 @@ def update_case_attribute(cursor, directory: Path, approved_ids.add(change_id) txn.put(b"review", pickle.dumps(review_ids)) txn.put(b"approved", pickle.dumps(approved_ids)) - return True + return True def __fetch_case_attrs_changes__(cursor, change_ids: tuple) -> list: -- cgit 1.4.1