mirror of
https://github.com/PaiGramTeam/genshin-wiki.git
synced 2024-11-21 22:58:02 +00:00
🐛 fix name error
This commit is contained in:
parent
1d7652e383
commit
695851fcc1
@ -25,7 +25,7 @@ async def parse_item_data(
|
||||
item_list = []
|
||||
for data in filter(lambda x: "rankLevel" in x, json_data):
|
||||
id = data["id"]
|
||||
if name := manager.get_text(data["nameTextMapHash"]) is None:
|
||||
if (name := manager.get_text(data["nameTextMapHash"])) is None:
|
||||
continue
|
||||
type = manager.get_text(data["typeDescTextMapHash"])
|
||||
icon = data["icon"]
|
||||
|
Loading…
Reference in New Issue
Block a user