From 50389d3f19613bfcfb2b637c3bd60b122e2f4d4c Mon Sep 17 00:00:00 2001 From: chrys87 Date: Mon, 12 Mar 2018 11:04:05 +0100 Subject: [PATCH] Update outputManager.py --- src/fenrir/core/outputManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/core/outputManager.py b/src/fenrir/core/outputManager.py index 8621c907..ff59ed02 100644 --- a/src/fenrir/core/outputManager.py +++ b/src/fenrir/core/outputManager.py @@ -93,9 +93,9 @@ class outputManager(): try: cleanText = text.replace('\n',' , ') - cleanText = re.sub(' +$',' ', cleanText) cleanText = self.env['runtime']['headLineManager'].replaceHeadLines(cleanText) cleanText = self.env['runtime']['punctuationManager'].proceedPunctuation(cleanText, ignorePunctuation) + cleanText = re.sub(' +$',' ', cleanText) self.env['runtime']['speechDriver'].speak(cleanText) self.env['runtime']['debug'].writeDebugOut("Speak: "+ cleanText,debug.debugLevel.INFO) except Exception as e: