Problems for kibom output when the PCB name included a path

This commit is contained in:
Salvador E. Tropea 2020-05-15 10:38:26 -03:00
parent 92331789fd
commit da09a617c4
1 changed files with 1 additions and 1 deletions

View File

@ -628,7 +628,7 @@ class Plotter(object):
prj = os.path.splitext(os.path.relpath(brd_file))[0]
logger.debug('Doing BoM, format '+format+' prj: '+prj)
cmd = [misc.CMD_KIBOM, prj+'.xml',
os.path.join(outdir, prj)+'.'+format]
os.path.join(outdir, os.path.basename(prj))+'.'+format]
logger.debug('Running: '+str(cmd))
try:
check_output(cmd, stderr=STDOUT)