replace settings=None with {}

This commit is contained in:
Jesusbill
2021-03-25 00:54:42 +01:00
parent d77bc6bdaa
commit 9c00872a57
94 changed files with 94 additions and 94 deletions
@@ -615,7 +615,7 @@ class application(QtWidgets.QApplication):
return handler
def __init__(self, settings=None):
def __init__(self, settings={}):
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=None):
def __init__(self, file=None, settings={}):
args = [self]
if file is not None:
args.append(file.wrapped_data)