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
1 changed files with 2 additions and 0 deletions

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