This commit is contained in:
zandercymatics 2024-07-15 11:42:05 -06:00
parent b68fe55584
commit c2d8c0eadb
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 1 additions and 2 deletions

View file

@ -624,7 +624,6 @@ class DomainRequest(TimeStampedModel):
was_already_action_needed = self._cached_status == self.DomainRequestStatus.ACTION_NEEDED
reason_exists = self._cached_action_needed_reason is not None and self.action_needed_reason is not None
reason_changed = self._cached_action_needed_reason != self.action_needed_reason
print(f"was_already_action_needed {was_already_action_needed} reason_exists {reason_exists} and {reason_changed}")
if was_already_action_needed and reason_exists and reason_changed:
# We don't send emails out in state "other"
if self.action_needed_reason != self.ActionNeededReasons.OTHER: