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)