Newline after repeat

main
Bob Mottram 2021-03-10 12:40:17 +00:00
parent 7edd5470b0
commit e83087b4d9
1 changed files with 5 additions and 3 deletions

View File

@ -278,8 +278,6 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
messageStr = speakerJson['say'] + '. ' + \
speakerJson['imageDescription']
print('')
# say the speaker's name
_sayCommand(nameStr, screenreader,
systemLanguage, espeak,
@ -292,6 +290,8 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
systemLanguage, espeak,
nameStr, gender)
print('')
prevSay = speakerJson['say']
# wait for a while, or until a key is pressed
@ -312,7 +312,9 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
nameStr, gender)
time.sleep(2)
_sayCommand(messageStr, screenreader,
systemLanguage, espeak)
systemLanguage, espeak,
nameStr, gender)
print('')
elif keyPress == 'sounds on' or keyPress == 'sound':
sayStr = 'Notification sounds on'
_sayCommand(sayStr, screenreader,