diff --git a/src/curies/api.py b/src/curies/api.py index 33d07be..9952c64 100644 --- a/src/curies/api.py +++ b/src/curies/api.py @@ -628,7 +628,7 @@ def from_jsonld(cls, data: LocationOr[Dict[str, Any]]) -> "Converter": for key, value in _prepare(data)["@context"].items(): if isinstance(value, str): prefix_map[key] = value - elif isinstance(value, dict) and value.get("@prefix") == True: + elif isinstance(value, dict) and value.get("@prefix") is True: prefix_map[key] = value["@id"] return cls.from_prefix_map(prefix_map)