From 42912581f969263c4c1cd3d21748c6afd5d6608d Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 23 Oct 2023 23:31:28 +0200 Subject: [PATCH] [Fix] Always initialize `AssistantPlugin._conversation_start_sound`. --- platypush/plugins/assistant/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/plugins/assistant/__init__.py b/platypush/plugins/assistant/__init__.py index 6291b1116..658192db1 100644 --- a/platypush/plugins/assistant/__init__.py +++ b/platypush/plugins/assistant/__init__.py @@ -85,6 +85,7 @@ class AssistantPlugin(Plugin, AssistantEntityManager, ABC): super().__init__(*args, **kwargs) self.tts_plugin = tts_plugin self.tts_plugin_args = tts_plugin_args or {} + self._conversation_start_sound = None if conversation_start_sound: self._conversation_start_sound = os.path.abspath( os.path.expanduser(conversation_start_sound)