Try fix string generation again

This commit is contained in:
octospacc 2022-09-14 23:28:11 +02:00
parent 5c4b5d25db
commit 6203097b73
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ def GetEmojiMeta(Line):
Line = Line.lower()
Code = Line.split(";")[0].rstrip(" ")
# Code = ReplaceList(Code, ["fe0f","200d"], "")
if len(Code.split(" ")) <= 2:
Code = ReplaceList(Code, ["fe0f","200d"], "")
Code = Code.replace(" ", " ")
Code = ReplaceList(Code, [" ","--"], "-")
Code = Code.removesuffix("-")