diff --git a/__init__.py b/__init__.py index 7dafa32..abd3900 100644 --- a/__init__.py +++ b/__init__.py @@ -394,8 +394,8 @@ def on_handler_speaking(self, message): self.gui["state"] = "speaking" self.gui.show_page("all.qml") # Show idle screen after the visemes are done (+ 2 sec). - time = message.data["visemes"][-1][1] + 5 - self.start_idle_event(time) + viseme_time = message.data["visemes"][-1][1] + 5 + self.start_idle_event(viseme_time) ##################################################################### # Manage resting screen visual state