mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 00:30:59 +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