forked from platypush/platypush
[Fix] Always initialize AssistantPlugin._conversation_start_sound
.
This commit is contained in:
parent
4a881c33d0
commit
42912581f9
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ class AssistantPlugin(Plugin, AssistantEntityManager, ABC):
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
self.tts_plugin = tts_plugin
|
self.tts_plugin = tts_plugin
|
||||||
self.tts_plugin_args = tts_plugin_args or {}
|
self.tts_plugin_args = tts_plugin_args or {}
|
||||||
|
self._conversation_start_sound = None
|
||||||
if conversation_start_sound:
|
if conversation_start_sound:
|
||||||
self._conversation_start_sound = os.path.abspath(
|
self._conversation_start_sound = os.path.abspath(
|
||||||
os.path.expanduser(conversation_start_sound)
|
os.path.expanduser(conversation_start_sound)
|
||||||
|
|
Loading…
Reference in a new issue