Added a mechanism to avoid problems with ibom

This new mechanism should be accepted in the upstream.
So we will be able to use unpatched ibom.
This commit is contained in:
Salvador E. Tropea 2020-06-17 15:34:43 -03:00
parent 7136662cb3
commit b8f8ed53bd
1 changed files with 2 additions and 0 deletions

View File

@ -708,6 +708,8 @@ class Plotter(object):
check_script(misc.CMD_IBOM, misc.URL_IBOM)
prj = os.path.splitext(os.path.relpath(brd_file))[0]
logger.debug('Doing Interactive BoM, prj: '+prj)
# Tell ibom we don't want to use the screen
os.environ['INTERACTIVE_HTML_BOM_NO_DISPLAY'] = ''
cmd = [misc.CMD_IBOM, brd_file,
'--dest-dir', output_dir,
'--no-browser', ]