From 91633559241402394933ee2c0d8d44e51bb699c4 Mon Sep 17 00:00:00 2001 From: akashbhome Date: Tue, 31 Mar 2026 13:00:29 +0530 Subject: [PATCH] update --- controllers/excel_upload_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/excel_upload_controller.py b/controllers/excel_upload_controller.py index 50a8ea0..8c97ea1 100644 --- a/controllers/excel_upload_controller.py +++ b/controllers/excel_upload_controller.py @@ -66,7 +66,7 @@ def show_table(filename): errors.append(f"State '{file_info['State']}' is not valid. Please add it.") if state_data: - cursor.callproc('GetDistrictByNameAndState', [file_info['District'], state_data['State_ID']]) # Change GetDistrictByNameAndStates to GetDistrictByNameAndState + cursor.callproc('GetDistrictByNameAndState', [file_info['District'], state_data['State_Id']]) # Change GetDistrictByNameAndStates to GetDistrictByNameAndState for result in cursor.stored_results(): district_data = result.fetchone() if not district_data: