Merge branch 'main' of ssh://code.freedombone.net:2222/bashrc/epicyon into main

main
Bob Mottram 2021-03-10 12:26:26 +00:00
commit bcf536de72
1 changed files with 2 additions and 3 deletions

View File

@ -62,8 +62,7 @@ def _speakerPicospeaker(pitch: int, rate: int, systemLanguage: str,
'-l ' + speakerLang + \
' -r ' + str(rate) + \
' -p ' + str(pitch) + ' "' + \
html.unescape(sayText) + '"'
# print(speakerCmd)
html.unescape(sayText) + '" 2> /dev/null'
os.system(speakerCmd)
@ -301,7 +300,7 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
sayStr = 'Quit'
_sayCommand(sayStr, screenreader,
systemLanguage, espeak)
keyPress = _waitForKeypress(3, debug)
keyPress = _waitForKeypress(2, debug)
break
elif keyPress == 'sounds on' or keyPress == 'sound':
sayStr = 'Notification sounds on'