Elided argument in ifcopenshell.file constructor

This commit is contained in:
Thomas Krijnen
2017-06-20 18:53:39 +02:00
parent 69c8b7c1c8
commit a27e516011
+1 -1
View File
@@ -25,7 +25,7 @@ from .entity_instance import entity_instance
class file(object):
def __init__(self, f=None):
self.wrapped_data = f or ifcopenshell_wrapper.file(True)
self.wrapped_data = f or ifcopenshell_wrapper.file()
def create_entity(self,type,*args,**kwargs):
e = entity_instance(type)
attrs = list(enumerate(args)) + \