diff --git a/LittlePaimon/utils/alias.py b/LittlePaimon/utils/alias.py index 356d5dd..8c693d2 100644 --- a/LittlePaimon/utils/alias.py +++ b/LittlePaimon/utils/alias.py @@ -154,7 +154,7 @@ def get_weapon_icon(name: str) -> Optional[str]: def get_artifact_icon(name: str) -> Optional[str]: - icon_list = load_json(JSON_DATA / 'artifact.json')['Icon'] + icon_list = load_json(JSON_DATA / 'artifact.json') for k, v in icon_list['Name'].items(): if name == v: return k