mirror of https://gitlab.com/bashrc2/epicyon
Merge branch 'main' of ssh://code.freedombone.net:2222/bashrc/epicyon into main
commit
13b2d9956b
|
|
@ -206,7 +206,7 @@ def _removeEmojiFromText(sayText: str) -> str:
|
||||||
for word in wordsList:
|
for word in wordsList:
|
||||||
if word.startswith(':'):
|
if word.startswith(':'):
|
||||||
if word.endswith(':'):
|
if word.endswith(':'):
|
||||||
replacements[word] = word.replace('*', '')
|
replacements[word] = ''
|
||||||
for replaceStr, newStr in replacements.items():
|
for replaceStr, newStr in replacements.items():
|
||||||
sayText = sayText.replace(replaceStr, newStr)
|
sayText = sayText.replace(replaceStr, newStr)
|
||||||
return sayText.replace(' ', ' ').strip()
|
return sayText.replace(' ', ' ').strip()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue