diff --git a/sourcing/model.py b/sourcing/model.py index 5e9286d..2c328af 100644 --- a/sourcing/model.py +++ b/sourcing/model.py @@ -299,7 +299,11 @@ class XanaLink(Item): if link['type'] != 'title': return - facet1, facet2 = link['facets'] + try: + facet1, facet2 = link['facets'] + except ValueError: + return + link_type, _, ident = facet1[0].partition(': ') item = Item.from_external(ident, home)