Never put blocked domains into outdated either
This commit is contained in:
parent
aac75dd4c3
commit
83b57a0998
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue