Not all artworks have an institution
This commit is contained in:
parent
d814ecf3a4
commit
441839e832
1 changed files with 0 additions and 1 deletions
1
app.py
1
app.py
|
|
@ -528,7 +528,6 @@ def item_page(item_id: int) -> str | Response:
|
|||
catalog = wd_catalog.get_catalog_from_artwork(entity)
|
||||
if not catalog.get("institution"):
|
||||
institution = get_institution(entity, other)
|
||||
assert institution
|
||||
catalog["institution"] = institution
|
||||
|
||||
return render_template(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue