This commit is contained in:
chrys 2019-02-15 18:53:51 +01:00
parent 876e8fa563
commit 435071aad5

View File

@ -51,7 +51,6 @@ class driver(speechDriver):
self._sd.set_language(self.language)
except Exception as e:
self.env['runtime']['debug'].writeDebugOut('speechDriver set_language:' + str(e),debug.debugLevel.ERROR)
self._isInitialized = False
try:
if self.voice:
@ -64,8 +63,6 @@ class driver(speechDriver):
self._sd.set_punctuation(self._punct.NONE)
except Exception as e:
self.env['runtime']['debug'].writeDebugOut('speechDriver set_punctuation:' + str(e),debug.debugLevel.ERROR)
self._isInitialized = False
try:
self._sd.speak(text)