diff --git a/src/ifcopenshell-python/ifcopenshell/geom/app.py b/src/ifcopenshell-python/ifcopenshell/geom/app.py index a08d0ded73..8dad8c365c 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/app.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/app.py @@ -51,7 +51,7 @@ class configuration(object): Cfg = ConfigParser.RawConfigParser except: import configparser - Cfg = configparser.ConfigParser(interpolation=None) + Cfg = lambda: configparser.ConfigParser(interpolation=None) conf_file = os.path.expanduser(os.path.join("~", ".ifcopenshell", "app", "snippets.conf")) if conf_file.startswith("~"):