From 4917cd19a2827521cc207df591102a089a22dfee Mon Sep 17 00:00:00 2001 From: Ryan Schultz Date: Mon, 9 Sep 2024 20:01:32 -0500 Subject: [PATCH] addresses https://github.com/IfcOpenShell/IfcOpenShell/commit/3ceeaa739fb20125b7195dbd69e5e8606a3d5ed8#r146061329 --- src/bonsai/bonsai/bim/module/drawing/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/bim/module/drawing/helper.py b/src/bonsai/bonsai/bim/module/drawing/helper.py index 8f8df7410b..b14bfb1d46 100644 --- a/src/bonsai/bonsai/bim/module/drawing/helper.py +++ b/src/bonsai/bonsai/bim/module/drawing/helper.py @@ -202,7 +202,7 @@ def format_distance( if not isArea: add_inches = bool(inches) or not suppress_zero_inches tx_dist = "" - if feet is not None: + if feet: tx_dist += str(feet) + "'" if not feet and not add_inches: tx_dist += str(feet) + "'"