This commit is contained in:
Edward Betts 2024-05-04 07:02:30 +00:00
parent 2302809364
commit 88409852cf

View file

@ -1020,7 +1020,7 @@ def item_detail(item: model.Item) -> ItemDetailType:
)
isa_items = [get_item(isa["numeric-id"]) for isa in item.get_isa()]
isa_lookup = {isa.qid: isa for isa in isa_items}
isa_lookup = {isa.qid: isa for isa in isa_items if isa}
wikipedia_links = [
{"lang": site[:-4], "title": link["title"]}