diff --git a/bims/api_views/checklist.py b/bims/api_views/checklist.py index 99e1286a8..bc12a06d2 100644 --- a/bims/api_views/checklist.py +++ b/bims/api_views/checklist.py @@ -93,8 +93,6 @@ def generate_checklist(download_request_id): def generate_csv_checklist(download_request, module_name, collection_records, batch_size): site_domain_name = get_current_domain() - module_name = collection_records.values_list('taxon_group')[0] - csv_file_path = os.path.join( settings.MEDIA_ROOT, 'checklists',