diff --git a/hagadias/qudobject_props.py b/hagadias/qudobject_props.py index a184c50..253a452 100644 --- a/hagadias/qudobject_props.py +++ b/hagadias/qudobject_props.py @@ -2565,7 +2565,10 @@ def unidentifiedaltname(self) -> str | None: return "small *color* tube" else: alt_obj_name = alt_obj_name if alt_obj_name is not None else "BaseUnknown" - alt_obj = self.qindex[alt_obj_name] + try: + alt_obj = self.qindex[alt_obj_name] + except KeyError: + alt_obj = self.qindex["BaseUnknown"] alt_name = QudObjectProps.title.__get__(alt_obj) return alt_name