From b5d5f90a0fc3ca114228151ed02fac2449caa672 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 11 Mar 2021 11:09:33 +0000 Subject: [PATCH] Fix repeating name --- notifications_client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/notifications_client.py b/notifications_client.py index dbc028f10..f49292ef8 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -581,8 +581,9 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str, print('') elif (keyPress == 'repeat' or keyPress == 'replay' or keyPress == 'rp'): - if nameStr and gender and messageStr and content: - sayStr = 'Repeating ' + nameStr, screenreader + if screenreader and nameStr and \ + gender and messageStr and content: + sayStr = 'Repeating ' + nameStr _sayCommand(sayStr, sayStr, systemLanguage, espeak, nameStr, gender)