Fixed missing decode in iBoM fail test

This commit is contained in:
Salvador E. Tropea 2022-05-09 09:07:13 -03:00
parent 5f22d5a3a9
commit 7058b1fed0
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ class IBoMOptions(VariantOptions):
logger.error('Failed to create BoM, error %d', e.returncode)
if e.output:
logger.debug('Output from command: '+e.output.decode())
if "'PCB_SHAPE' object has no attribute 'GetAngle'" in e.output:
if "'PCB_SHAPE' object has no attribute 'GetAngle'" in e.output.decode():
logger.error("Update Interactive HTML BoM your version doesn't support KiCad 6 files")
exit(BOM_ERROR)
logger.debug('Output from command:\n'+cmd_output_dec+'\n')