Fix linting

This commit is contained in:
zandercymatics 2023-12-19 07:59:54 -07:00
parent f329c5878c
commit 8698f8f2d4
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -659,7 +659,7 @@ class DomainAddUserView(DomainFormBaseView):
elif not requester.is_staff:
messages.error(self.request, "Can't send invitation email. No email is associated with your account.")
logger.error(
f"Can't send email to '{email}' on domain '{self.object}'."
f"Can't send email to '{email}' on domain '{self.object}'."
f"No email exists for the requester '{requester.username}'.",
exc_info=True,
)