From 73b6d23d4f199cba24900f2742ff62e0b70fd4f0 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Fri, 24 Mar 2023 16:05:27 +1100 Subject: [PATCH] Minor fix --- src/ifcopenshell-python/ifcopenshell/util/fm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/util/fm.py b/src/ifcopenshell-python/ifcopenshell/util/fm.py index 6be76879ec..f1c41f65e9 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/fm.py +++ b/src/ifcopenshell-python/ifcopenshell/util/fm.py @@ -141,7 +141,7 @@ def get_fmhem_types(ifc_file): fmhem_classes = fmhem_classes_ifc4 for ifc_class in fmhem_classes: try: - elements += [e for e in ifc_file.by_type(ifc_class) if not e.is_a() not in fmhem_excluded_classes] + elements += [e for e in ifc_file.by_type(ifc_class) if e.is_a() not in fmhem_excluded_classes] except: pass return elements