From ee5a8b5b975f0dcf2888c50e6e3328ac523e8c84 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 3 Mar 2021 20:18:14 +0000 Subject: [PATCH] Check for emoji --- speaker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speaker.py b/speaker.py index 126a8a9f6..9bd1fb332 100644 --- a/speaker.py +++ b/speaker.py @@ -189,7 +189,7 @@ def _addSSMLemphasis(sayText: str) -> str: def _removeEmojiFromText(sayText: str) -> str: """Removes :emoji: from the given text """ - if '*' not in sayText: + if ':' not in sayText: return sayText text = sayText for ch in speakerRemoveChars: