From 80dbc0f2712d5444f5835baadccc9a37ea8b0bf2 Mon Sep 17 00:00:00 2001 From: chrys Date: Wed, 28 Sep 2016 22:25:21 +0200 Subject: [PATCH] fix outputManager, pass ignorePunctuation --- src/fenrir-package/core/outputManager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fenrir-package/core/outputManager.py b/src/fenrir-package/core/outputManager.py index dd5c3919..3b90663d 100644 --- a/src/fenrir-package/core/outputManager.py +++ b/src/fenrir-package/core/outputManager.py @@ -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)