This commit is contained in:
chrys 2019-02-15 20:08:57 +01:00
parent ddc30dc6d4
commit 287d2e68be

View File

@ -57,7 +57,7 @@ class driver(speechDriver):
try: try:
if self.voice: if self.voice:
if self.voice != '': if self.voice != '':
self._sd.set_voice(self.voice) self._sd.set_synthesis_voice(self.voice)
except Exception as e: except Exception as e:
self.env['runtime']['debug'].writeDebugOut('speechDriver setVoice:' + str(e),debug.debugLevel.ERROR) self.env['runtime']['debug'].writeDebugOut('speechDriver setVoice:' + str(e),debug.debugLevel.ERROR)