Check for emoji

merge-requests/30/head
Bob Mottram 2021-03-03 20:18:14 +00:00
parent a9f5831db9
commit ee5a8b5b97
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ def _addSSMLemphasis(sayText: str) -> str:
def _removeEmojiFromText(sayText: str) -> str: def _removeEmojiFromText(sayText: str) -> str:
"""Removes :emoji: from the given text """Removes :emoji: from the given text
""" """
if '*' not in sayText: if ':' not in sayText:
return sayText return sayText
text = sayText text = sayText
for ch in speakerRemoveChars: for ch in speakerRemoveChars: