mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-20 14:21:00 +00:00
Never put blocked domains into outdated either
This commit is contained in:
parent
aac75dd4c3
commit
83b57a0998
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue