Bug fix
This commit is contained in:
parent
2302809364
commit
88409852cf
|
@ -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_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 = [
|
wikipedia_links = [
|
||||||
{"lang": site[:-4], "title": link["title"]}
|
{"lang": site[:-4], "title": link["title"]}
|
||||||
|
|
Loading…
Reference in a new issue