Fix google tts now playing audio
The file extention of the audio was not set properly in the google_tts causing it to fail to playback the synthezised audio
@@ -20,8 +20,7 @@ from mycroft.tts import TTS, TTSValidator
class GoogleTTS(TTS):
def __init__(self, lang, config):
super(GoogleTTS, self).__init__(lang, config, GoogleTTSValidator(
- self))
- self.type = 'mp3'
+ self), 'mp3')
def get_tts(self, sentence, wav_file):
tts = gTTS(sentence, self.lang)
