From 711acfe120e3e2182848cafc65879e7ba92780f4 Mon Sep 17 00:00:00 2001 From: Jesusbill Date: Fri, 26 Mar 2021 17:51:35 +0100 Subject: [PATCH] revert erroneous mod from bulk change --- src/ifcopenshell-python/ifcopenshell/geom/app.py | 2 +- src/ifcopenshell-python/ifcopenshell/geom/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/geom/app.py b/src/ifcopenshell-python/ifcopenshell/geom/app.py index b4099ee9cc..43d5762584 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/app.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/app.py @@ -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() diff --git a/src/ifcopenshell-python/ifcopenshell/geom/main.py b/src/ifcopenshell-python/ifcopenshell/geom/main.py index 062fc2c980..e8040d2814 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/main.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/main.py @@ -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)