mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-25 23:00:29 +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
|
||||
def handle_updated(cls, instance: "Domain"):
|
||||
if instance.blocked:
|
||||
return cls.updated
|
||||
return cls.outdated
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue