From e5e9c370ae7264539852b3d8d0bef48c6991accd Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 5 Sep 2023 13:25:58 -0300 Subject: [PATCH] [Added] Suffix for disabled layers when reporting them --- kibot/out_any_layer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibot/out_any_layer.py b/kibot/out_any_layer.py index f9566e1d..8094bb71 100644 --- a/kibot/out_any_layer.py +++ b/kibot/out_any_layer.py @@ -184,7 +184,7 @@ class AnyLayerOptions(VariantOptions): desc = la.description id = la.id if not GS.board.IsLayerEnabled(id): - logger.warning(W_NOLAYER+'Layer "{}" isn\'t used'.format(desc)) + logger.warning(W_NOLAYER+f'Layer "{desc}" ({la.suffix}) isn\'t used') continue if self._plot_format != PLOT_FORMAT_GERBER and self.individual_page_scaling: # Only this layer is visible