Problems for kibom output when the PCB name included a path
This commit is contained in:
parent
92331789fd
commit
da09a617c4
|
|
@ -628,7 +628,7 @@ class Plotter(object):
|
||||||
prj = os.path.splitext(os.path.relpath(brd_file))[0]
|
prj = os.path.splitext(os.path.relpath(brd_file))[0]
|
||||||
logger.debug('Doing BoM, format '+format+' prj: '+prj)
|
logger.debug('Doing BoM, format '+format+' prj: '+prj)
|
||||||
cmd = [misc.CMD_KIBOM, prj+'.xml',
|
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))
|
logger.debug('Running: '+str(cmd))
|
||||||
try:
|
try:
|
||||||
check_output(cmd, stderr=STDOUT)
|
check_output(cmd, stderr=STDOUT)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue