Fixed missing increment in KiCad 5 wks copy

This commit is contained in:
Salvador E. Tropea 2022-04-04 18:35:14 -03:00
parent 26ebfab294
commit 235031b12c
1 changed files with 1 additions and 0 deletions

View File

@ -424,6 +424,7 @@ class KiConf(object):
if os.path.isfile(fname):
dest = os.path.join(dest_dir, str(order)+'.kicad_wks')
copy2(fname, dest)
order = order+1
else:
logger.error('Missing page layout file: '+fname)
exit(MISSING_WKS)