diff --git a/kikit/common.py b/kikit/common.py index 1d22b064..4adbc76b 100644 --- a/kikit/common.py +++ b/kikit/common.py @@ -282,7 +282,7 @@ def isBottomLayer(layer): """ Decide if layer is a bottom layer """ - return str(layer).startswith("Layer.B_") + return layer.name.startswith("B_") def commonPoints(lines): """