From da09a617c4982a42156a9350f98f3eb0d6c58d69 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 15 May 2020 10:38:26 -0300 Subject: [PATCH] Problems for kibom output when the PCB name included a path --- kiplot/kiplot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiplot/kiplot.py b/kiplot/kiplot.py index 7facdda9..9acf37a3 100644 --- a/kiplot/kiplot.py +++ b/kiplot/kiplot.py @@ -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)