[PCB Print] Avoid warnings about SHEETPATH

- Not used for PCBs
- KiCad defines it as empty

See #532
This commit is contained in:
Salvador E. Tropea 2023-12-18 18:46:05 -03:00
parent e72bbd08a3
commit 53aa79c29b
1 changed files with 1 additions and 0 deletions

View File

@ -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):