diff --git a/api/views.py b/api/views.py index d9d390a..9154ff2 100644 --- a/api/views.py +++ b/api/views.py @@ -414,7 +414,7 @@ def xls_to_csv(request): logger.info(f'full_path = {full_path}') # Check available sheets and look for 'inscriptions' - xls = pd.ExcelFile(file_name) + xls = pd.ExcelFile(full_path) sheet_names = xls.sheet_names # Determine which sheet to use