fixes
This commit is contained in:
parent
ddc30dc6d4
commit
287d2e68be
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user