From 5a601f16fd825a844d70c97074d08dc42ebab234 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 16 Jun 2023 14:07:39 +0200 Subject: [PATCH] Correct if-clause --- src/ifcopenshell-python/ifcopenshell/api/pset/edit_pset.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/api/pset/edit_pset.py b/src/ifcopenshell-python/ifcopenshell/api/pset/edit_pset.py index ca567294cd..1dfe55312e 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/pset/edit_pset.py +++ b/src/ifcopenshell-python/ifcopenshell/api/pset/edit_pset.py @@ -208,7 +208,8 @@ class Usecase: elif prop.is_a("IfcPropertySingleValue"): self.update_existing_prop_single_value(prop) - raise NotImplementedError(f"Updating '{prop.is_a()}' properties is not supported yet") + else: + raise NotImplementedError(f"Updating '{prop.is_a()}' properties is not supported yet") def update_existing_prop_enum(self, prop): """