diff --git a/controllers/excel_upload_controller.py b/controllers/excel_upload_controller.py index 08b4a75..50a8ea0 100644 --- a/controllers/excel_upload_controller.py +++ b/controllers/excel_upload_controller.py @@ -59,7 +59,7 @@ def show_table(filename): try: cursor = connection.cursor(dictionary=True) - cursor.callproc('GetStateByName', [file_info['State']]) + cursor.callproc('CheckStateExists', [file_info['State']]) for result in cursor.stored_results(): state_data = result.fetchone() if not state_data: diff --git a/templates/pmc_report.html b/templates/pmc_report.html index f80ebae..141549c 100644 --- a/templates/pmc_report.html +++ b/templates/pmc_report.html @@ -313,7 +313,7 @@