Skip to content

Commit

Permalink
Added a mechanism to avoid problems with ibom
Browse files Browse the repository at this point in the history
This new mechanism should be accepted in the upstream.
So we will be able to use unpatched ibom.
  • Loading branch information
set-soft committed Jun 17, 2020
1 parent 7136662 commit b8f8ed5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kiplot/kiplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,8 @@ def _do_ibom(self, output_dir, output, brd_file):
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', ]
Expand Down

0 comments on commit b8f8ed5

Please sign in to comment.