create_element_types - remove unnecessary check

Was introduced in 0ee9329, but no longer needed since `None` values are excluded from this set after 10f8453
This commit is contained in:
Andrej730
2025-09-05 11:24:11 +05:00
parent 21137de8a0
commit 39253c6a6d
-2
View File
@@ -525,8 +525,6 @@ class IfcImporter:
print("WARNING. Loading element types from IFCSQLite is not supported.")
return
for element_type in self.element_types:
if not element_type:
continue
self.create_element_type(element_type)
def create_element_type(self, element: ifcopenshell.entity_instance) -> None: