From f53489968196a332260f5aea642546031759f01f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 10 Mar 2021 18:31:45 +0000 Subject: [PATCH] Wait for screen reader --- notifications_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notifications_client.py b/notifications_client.py index 20b08668e..e224ac9a3 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -347,7 +347,8 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str, sayStr = 'Quit' _sayCommand(sayStr, screenreader, systemLanguage, espeak) - keyPress = _waitForKeypress(2, debug) + if screenreader: + keyPress = _waitForKeypress(2, debug) break elif keyPress == 'reply' or keyPress == 'r': if speakerJson.get('id'):