diff --git a/piker/ui/_window.py b/piker/ui/_window.py index 2719f4ef..a97b1f84 100644 --- a/piker/ui/_window.py +++ b/piker/ui/_window.py @@ -124,8 +124,10 @@ class MultiStatus: if not subs: group_clear() - self._status_groups[group_key][0].add(msg) - ret = pop_from_group_and_maybe_clear_group + group = self._status_groups.get(group_key) + if group: + group[0].add(msg) + ret = pop_from_group_and_maybe_clear_group self.render()