From 77d9427e771e65c87614b86c1ab1908ea4205058 Mon Sep 17 00:00:00 2001 From: Kunal Tiwary Date: Tue, 5 Sep 2023 11:59:11 +0530 Subject: [PATCH] small_fix --- backend/utils/convert_result_to_chitralekha_format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/utils/convert_result_to_chitralekha_format.py b/backend/utils/convert_result_to_chitralekha_format.py index 39babcd5c..7f2b6f0d0 100644 --- a/backend/utils/convert_result_to_chitralekha_format.py +++ b/backend/utils/convert_result_to_chitralekha_format.py @@ -29,7 +29,7 @@ def create_memory(result): def convert_result_to_chitralekha_format(result, ann_id, project_type): if (len(result) == 1 and result[0] == {}) or len(result) == 0: - return [] + return [], None memory = create_memory(result) modified_result = [] count = 1