mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
revert erroneous mod from bulk change
This commit is contained in:
@@ -615,7 +615,7 @@ class application(QtWidgets.QApplication):
|
||||
|
||||
return handler
|
||||
|
||||
def __init__(self, settings={}):
|
||||
def __init__(self, settings=None):
|
||||
QtWidgets.QApplication.__init__(self, sys.argv)
|
||||
self.window = application.window()
|
||||
self.tree = application.decomposition_treeview()
|
||||
|
||||
@@ -124,7 +124,7 @@ class iterator(_iterator):
|
||||
|
||||
|
||||
class tree(ifcopenshell_wrapper.tree):
|
||||
def __init__(self, file=None, settings={}):
|
||||
def __init__(self, file=None, settings=None):
|
||||
args = [self]
|
||||
if file is not None:
|
||||
args.append(file.wrapped_data)
|
||||
|
||||
Reference in New Issue
Block a user