diff --git a/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py b/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py index e350bf9ad2..cb8315a62c 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py @@ -29,7 +29,7 @@ from collections import namedtuple try: # python 3.3+ from collections.abc import Iterable -except ModuleNotFoundError: # python 2 +except ImportError: # python 2 from collections import Iterable try: