Try fix string generation again

This commit is contained in:
octospacc 2022-09-14 23:28:11 +02:00
parent 5c4b5d25db
commit 6203097b73

View File

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