tweak char and line utils

This commit is contained in:
chrys
2016-12-22 23:08:16 +01:00
parent d8442c8f04
commit c8e23b8d78
3 changed files with 21 additions and 7 deletions

View File

@@ -24,6 +24,8 @@ class outputManager():
self.env['runtime']['settingsManager'].shutdownDriver('brailleDriver')
def presentText(self, text, interrupt=True, soundIcon = '', ignorePunctuation=False, announceCapital=False):
if text == '':
return
self.env['runtime']['debug'].writeDebugOut("presentText:\nsoundIcon:'"+soundIcon+"'\nText:\n" + text ,debug.debugLevel.INFO)
if self.playSoundIcon(soundIcon, interrupt):
self.env['runtime']['debug'].writeDebugOut("soundIcon found" ,debug.debugLevel.INFO)