From e83087b4d9c3b67c17eb597f9b611de3e4d08cb1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 10 Mar 2021 12:40:17 +0000 Subject: [PATCH] Newline after repeat --- notifications_client.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/notifications_client.py b/notifications_client.py index 351abcb25..73b3e26b4 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -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,