diff --git a/dataworkspace/dataworkspace/apps/datasets/admin.py b/dataworkspace/dataworkspace/apps/datasets/admin.py index bffe0c29bb..44b2446e6f 100644 --- a/dataworkspace/dataworkspace/apps/datasets/admin.py +++ b/dataworkspace/dataworkspace/apps/datasets/admin.py @@ -324,10 +324,8 @@ def save_model(self, request, obj, form, change): ) if form.cleaned_data["request_approvers"]: - request_approvers_emails = [ - request_approver - for request_approver in list(form.cleaned_data["request_approvers"]) - ] + request_approvers_emails = list(form.cleaned_data["request_approvers"]) + existing_data_catalogue_editors_emails = ( [item.email for item in form.cleaned_data["data_catalogue_editors"]] if form.cleaned_data["data_catalogue_editors"]