def update_sandwich_widget(self, word): ## regex sandwich widget? sandwich_text = CEO.sandwich(word) if sandwich_text: self.sandwich.setText(sandwich_text)