diff --git a/aiogram/dispatcher/fsm/state.py b/aiogram/dispatcher/fsm/state.py index 5a4f4075..6c76913f 100644 --- a/aiogram/dispatcher/fsm/state.py +++ b/aiogram/dispatcher/fsm/state.py @@ -59,7 +59,7 @@ class State: return self.state == other.state if isinstance(other, str): return self.state == other - return False + return NotImplemented def __hash__(self) -> int: return hash(self.state)