fix outputManager, pass ignorePunctuation

This commit is contained in:
chrys 2016-09-28 22:25:21 +02:00
parent e3e79d097e
commit 80dbc0f271

View File

@ -25,7 +25,7 @@ class outputManager():
if self.playSoundIcon(soundIcon, interrupt):
self.env['runtime']['debug'].writeDebugOut("soundIcon found" ,debug.debugLevel.INFO)
return
self.speakText(text, interrupt)
self.speakText(text, interrupt, ignorePunctuation)
self.brailleText(text, interrupt)
def speakText(self, text, interrupt=True, ignorePunctuation=False):
@ -75,6 +75,7 @@ class outputManager():
try:
text = self.env['runtime']['punctuationManager'].proceedPunctuation(text,ignorePunctuation)
self.env['runtime']['speechDriver'].speak(text)
except Exception as e:
print(e)