Update outputManager.py
This commit is contained in:
parent
d797c16cb4
commit
50389d3f19
@ -93,9 +93,9 @@ class outputManager():
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
cleanText = text.replace('\n',' , ')
|
cleanText = text.replace('\n',' , ')
|
||||||
cleanText = re.sub(' +$',' ', cleanText)
|
|
||||||
cleanText = self.env['runtime']['headLineManager'].replaceHeadLines(cleanText)
|
cleanText = self.env['runtime']['headLineManager'].replaceHeadLines(cleanText)
|
||||||
cleanText = self.env['runtime']['punctuationManager'].proceedPunctuation(cleanText, ignorePunctuation)
|
cleanText = self.env['runtime']['punctuationManager'].proceedPunctuation(cleanText, ignorePunctuation)
|
||||||
|
cleanText = re.sub(' +$',' ', cleanText)
|
||||||
self.env['runtime']['speechDriver'].speak(cleanText)
|
self.env['runtime']['speechDriver'].speak(cleanText)
|
||||||
self.env['runtime']['debug'].writeDebugOut("Speak: "+ cleanText,debug.debugLevel.INFO)
|
self.env['runtime']['debug'].writeDebugOut("Speak: "+ cleanText,debug.debugLevel.INFO)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user