diff --git a/src/ifcopenshell-python/ifcopenshell/draw.py b/src/ifcopenshell-python/ifcopenshell/draw.py index bbcfa48aea..235dd1416e 100644 --- a/src/ifcopenshell-python/ifcopenshell/draw.py +++ b/src/ifcopenshell-python/ifcopenshell/draw.py @@ -541,7 +541,7 @@ def main( arranged = W.arrange_polygons( *filter(None, (ARRANGE_POLYGON_SETTINGS,)), - polies, # ty: ignore[too-many-positional-arguments] + polies, *((logger,) if logger is not None else ()), ) svg_data_3 = W.polygons_to_svg(arranged, False)