Error emails list is already a list
This commit is contained in:
parent
b4a3c5e277
commit
7d7bd60a7f
1 changed files with 1 additions and 1 deletions
|
@ -1824,7 +1824,7 @@ class VirtualMachineView(LoginRequiredMixin, View):
|
||||||
'subject': ("Deleted " if response['status']
|
'subject': ("Deleted " if response['status']
|
||||||
else "ERROR deleting ") + admin_msg_sub,
|
else "ERROR deleting ") + admin_msg_sub,
|
||||||
'from_email': settings.DCL_SUPPORT_FROM_ADDRESS,
|
'from_email': settings.DCL_SUPPORT_FROM_ADDRESS,
|
||||||
'to': [settings.DCL_ERROR_EMAILS_TO_LIST],
|
'to': settings.DCL_ERROR_EMAILS_TO_LIST,
|
||||||
'body': "\n".join(
|
'body': "\n".join(
|
||||||
["%s=%s" % (k, v) for (k, v) in admin_email_body.items()]),
|
["%s=%s" % (k, v) for (k, v) in admin_email_body.items()]),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue