mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-06 19:53:45 +08:00
🚨 pre-commit
修复
This commit is contained in:
parent
df8e358cd8
commit
a0eff74340
@ -109,7 +109,8 @@ async def avatarName2ElementJson() -> None:
|
||||
data = await convert_ambr_to_minigg(_id)
|
||||
if data is not None and 'code' not in data:
|
||||
temp[name] = elementMap[data['element']]
|
||||
enName = data['images']['namesideicon'].split('_')[-1] # type: ignore
|
||||
nameicon = data['images']['namesideicon'] # type: ignore
|
||||
enName = nameicon.split('_')[-1]
|
||||
enName2Id_result[enName] = _id
|
||||
avatarId2Star_result[int(_id)] = str(data['rarity'])
|
||||
avatarName2Weapon_result[data['name']] = data['weapontype']
|
||||
|
Loading…
x
Reference in New Issue
Block a user