Skip to content

Commit

Permalink
better handle no cards
Browse files Browse the repository at this point in the history
  • Loading branch information
aaxelb committed May 23, 2024
1 parent 5d5984f commit c0cbec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trove/views/browse.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _get_latest_cardf(iri: str):
if _subj == _indexcard_rdf.focus_iri
else (_subj, _pred, _obj)
)
return _focus_iri, _combined_rdf
return (_focus_iri or iri), _combined_rdf


def _recognize_trove_term(suffuniq_iri: str):
Expand Down

0 comments on commit c0cbec8

Please sign in to comment.