mirror of
https://gitlab.com/octtspacc/twemoji-astonishing
synced 2024-12-22 05:28:52 +01:00
Try fix string generation again
This commit is contained in:
parent
5c4b5d25db
commit
6203097b73
@ -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("-")
|
||||||
|
Loading…
Reference in New Issue
Block a user