mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
create_element_types - remove unnecessary check
Was introduced in0ee9329, but no longer needed since `None` values are excluded from this set after10f8453
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user