diff --git a/src/registrar/utility/email.py b/src/registrar/utility/email.py index 973aa8716..ceea1afc9 100644 --- a/src/registrar/utility/email.py +++ b/src/registrar/utility/email.py @@ -37,7 +37,7 @@ def send_templated_email( Raises EmailSendingError if SES client could not be accessed """ - if flag_is_active(None, "disable_email_sending") and not settings.IS_PRODUCTION: + if flag_is_active(None, "disable_email_sending") and not settings.IS_PRODUCTION: # noqa message = "Could not send email. Email sending is disabled due to flag 'disable_email_sending'." raise EmailSendingError(message)