diff --git a/speaker.py b/speaker.py index 447c86423..5fe59311b 100644 --- a/speaker.py +++ b/speaker.py @@ -206,7 +206,7 @@ def _removeEmojiFromText(sayText: str) -> str: for word in wordsList: if word.startswith(':'): if word.endswith(':'): - replacements[word] = word.replace('*', '') + replacements[word] = '' for replaceStr, newStr in replacements.items(): sayText = sayText.replace(replaceStr, newStr) return sayText.replace(' ', ' ').strip()