From 383302e67b4d61a224059a1b02920113071270fa Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 14 Mar 2024 15:29:21 +0100 Subject: [PATCH] Fixed print() bug --- ifc_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ifc_generator.py b/ifc_generator.py index d508a6f..2c350c1 100644 --- a/ifc_generator.py +++ b/ifc_generator.py @@ -429,8 +429,8 @@ def print_debug(obj): return if element.is_a("IfcSpatialStructureElement"): return - print( - "DEBUG: No Shape returned for element {}, {}, {}".format( + FreeCAD.Console.PrintLog( + "DEBUG: No Shape returned for element {}, {}, {}\n".format( element.id(), element.is_a(), getattr(element, "Name", "") ) )