Never put blocked domains into outdated either

This commit is contained in:
Andrew Godwin 2023-07-22 10:44:01 -06:00
parent aac75dd4c3
commit 83b57a0998

View file

@ -45,6 +45,8 @@ class DomainStates(StateGraph):
@classmethod @classmethod
def handle_updated(cls, instance: "Domain"): def handle_updated(cls, instance: "Domain"):
if instance.blocked:
return cls.updated
return cls.outdated return cls.outdated