mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-25 10:01:10 +00:00
Fix: Non-ASCII characters in Cafe_Self_Deceit
This commit is contained in:
parent
49e7ff4762
commit
3b906ba789
@ -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('_')
|
||||||
|
|
||||||
|
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user