From 7058b1fed057a9045df81f2170a00d676f88af08 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Mon, 9 May 2022 09:07:13 -0300 Subject: [PATCH] Fixed missing decode in iBoM fail test --- kibot/out_ibom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibot/out_ibom.py b/kibot/out_ibom.py index 9d312ae8..5e82b80c 100644 --- a/kibot/out_ibom.py +++ b/kibot/out_ibom.py @@ -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')