From 53aa79c29b2b4d2efea59ff5e11db02ca940350c Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Mon, 18 Dec 2023 18:46:05 -0300 Subject: [PATCH] [PCB Print] Avoid warnings about SHEETPATH - Not used for PCBs - KiCad defines it as empty See #532 --- kibot/out_pcb_print.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kibot/out_pcb_print.py b/kibot/out_pcb_print.py index 460fb5f8..215039b8 100644 --- a/kibot/out_pcb_print.py +++ b/kibot/out_pcb_print.py @@ -489,6 +489,7 @@ class PCB_PrintOptions(VariantOptions): vars['TITLE'] = tb.GetTitle() vars['FILENAME'] = GS.pcb_basename+'.kicad_pcb' vars['SHEETNAME'] = p.sheet + vars['SHEETPATH'] = '' # Only relevant for an schematic layer = '' for la in p.layers: if len(layer):