Fix: Non-ASCII characters in Cafe_Self_Deceit

This commit is contained in:
LmeSzinc 2024-01-06 20:49:06 +08:00
parent 49e7ff4762
commit 3b906ba789
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ def text_to_variable(text):
text = re.sub(r'[(),#"?!&%*]|</?\w+>', '', text) text = re.sub(r'[(),#"?!&%*]|</?\w+>', '', text)
# text = re.sub(r'[#_]?\d+(_times?)?', '', text) # text = re.sub(r'[#_]?\d+(_times?)?', '', text)
text = re.sub(r'<color=#?\w+>', '', text) text = re.sub(r'<color=#?\w+>', '', text)
text = text.replace('é', 'e')
return text.strip('_') return text.strip('_')

View File

@ -483,9 +483,9 @@ Beginning_and_End = RogueBlessing(
rarity=2, rarity=2,
enhancement='', enhancement='',
) )
Café_Self_Deceit = RogueBlessing( Cafe_Self_Deceit = RogueBlessing(
id=41, id=41,
name='Café_Self_Deceit', name='Cafe_Self_Deceit',
cn='自欺咖啡馆', cn='自欺咖啡馆',
cht='自欺咖啡館', cht='自欺咖啡館',
en='Café Self-Deceit', en='Café Self-Deceit',