Merge pull request #2105 from gabrielrbarbosa/fix-brian-tts-speech-exception

Fix BRIAN_TTS - Prevent TypeError exception in _speech method
This commit is contained in:
Richard Beales
2023-04-17 17:46:21 +01:00
committed by GitHub

View File

@@ -13,7 +13,7 @@ class BrianSpeech(VoiceBase):
"""Setup the voices, API key, etc."""
pass
def _speech(self, text: str) -> bool:
def _speech(self, text: str, _: int = 0) -> bool:
"""Speak text using Brian with the streamelements API
Args: