From 83b57a0998d60fa3edef1d9395cda36b452f8e60 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 22 Jul 2023 10:44:01 -0600 Subject: [PATCH] Never put blocked domains into outdated either --- users/models/domain.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/users/models/domain.py b/users/models/domain.py index 40955c9..8100614 100644 --- a/users/models/domain.py +++ b/users/models/domain.py @@ -45,6 +45,8 @@ class DomainStates(StateGraph): @classmethod def handle_updated(cls, instance: "Domain"): + if instance.blocked: + return cls.updated return cls.outdated