diff --git a/zulip_bots/zulip_bots/lib.py b/zulip_bots/zulip_bots/lib.py index 1ff9626..5d1b362 100644 --- a/zulip_bots/zulip_bots/lib.py +++ b/zulip_bots/zulip_bots/lib.py @@ -121,7 +121,7 @@ class StateHandler(object): @contextmanager def state(self, default): - #type: (Any) -> Any + # type: (Any) -> Any new_state = self.get_state() or default yield new_state self.set_state(new_state)