mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Convert DailyID to string in generate_daily_quests
This commit is contained in:
parent
9bcb315615
commit
ee256ad325
@ -202,7 +202,7 @@ class KeywordExtract:
|
|||||||
|
|
||||||
def generate_daily_quests(self):
|
def generate_daily_quests(self):
|
||||||
daily_quest = read_file(os.path.join(TextMap.DATA_FOLDER, 'ExcelOutput', 'DailyQuest.json'))
|
daily_quest = read_file(os.path.join(TextMap.DATA_FOLDER, 'ExcelOutput', 'DailyQuest.json'))
|
||||||
self.load_quests([deep_get(data, 'DailyID') for data in daily_quest])
|
self.load_quests([str(deep_get(data, 'DailyID')) for data in daily_quest])
|
||||||
self.write_daily_quest_keywords()
|
self.write_daily_quest_keywords()
|
||||||
|
|
||||||
def load_character_name_keywords(self, lang='en'):
|
def load_character_name_keywords(self, lang='en'):
|
||||||
|
@ -13,7 +13,6 @@ CHARACTER_HEIGHT = {
|
|||||||
'Tingyun': 'Maid',
|
'Tingyun': 'Maid',
|
||||||
'Sushang': 'Maid',
|
'Sushang': 'Maid',
|
||||||
'Seele': 'Maid',
|
'Seele': 'Maid',
|
||||||
'March7thPreservation': 'Maid',
|
|
||||||
'Jingliu': 'Maid',
|
'Jingliu': 'Maid',
|
||||||
'Bronya': 'Maid',
|
'Bronya': 'Maid',
|
||||||
'Asta': 'Maid',
|
'Asta': 'Maid',
|
||||||
|
Loading…
Reference in New Issue
Block a user