Fix: Convert DailyID to string in generate_daily_quests

This commit is contained in:
Zero 2024-07-31 14:56:38 +08:00
parent 9bcb315615
commit ee256ad325
2 changed files with 1 additions and 2 deletions

View File

@ -202,7 +202,7 @@ class KeywordExtract:
def generate_daily_quests(self):
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()
def load_character_name_keywords(self, lang='en'):

View File

@ -13,7 +13,6 @@ CHARACTER_HEIGHT = {
'Tingyun': 'Maid',
'Sushang': 'Maid',
'Seele': 'Maid',
'March7thPreservation': 'Maid',
'Jingliu': 'Maid',
'Bronya': 'Maid',
'Asta': 'Maid',