From fe699e0a81140d33b5c3a45a219e4fbd9892900b Mon Sep 17 00:00:00 2001 From: aothms Date: Mon, 21 Dec 2015 11:47:38 +0100 Subject: [PATCH] Fix python module import --- src/ifcopenshell-python/ifcopenshell/geom/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/geom/__init__.py b/src/ifcopenshell-python/ifcopenshell/geom/__init__.py index 8550f4013d..f4d05f86dc 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/__init__.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/__init__.py @@ -31,7 +31,7 @@ def has_occ(): has_occ = has_occ() wrap_shape_creation = lambda settings, shape: shape if has_occ: - import occ_utils as utils + from . import occ_utils as utils wrap_shape_creation = lambda settings, shape: utils.create_shape_from_serialization(shape) if getattr(settings, 'use_python_opencascade', False) else shape