From 2777b771f33cea3106cc4116f30ec99b7b9f744f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 16 Mar 2021 18:05:06 +0000 Subject: [PATCH] Pronounce DM --- notifications_client.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/notifications_client.py b/notifications_client.py index 6a3ed44e7..9b5135106 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -449,7 +449,10 @@ def _showLocalBox(notifyJson: {}, boxName: str, print(indent + titleStr + '\n') if not index: - sayStr = indent + 'You have no ' + boxName + ' posts yet.' + boxStr = boxName + if boxName == 'dm': + boxStr = 'DM' + sayStr = indent + 'You have no ' + boxStr + ' posts yet.' _sayCommand(sayStr, sayStr, screenreader, systemLanguage, espeak) print('') return False