diff --git a/pyghmi/ipmi/oem/lenovo/nextscale.py b/pyghmi/ipmi/oem/lenovo/nextscale.py index 4899e381..ed320ee8 100644 --- a/pyghmi/ipmi/oem/lenovo/nextscale.py +++ b/pyghmi/ipmi/oem/lenovo/nextscale.py @@ -69,8 +69,8 @@ def fpc_read_dc_output(ipmicmd): def fpc_read_fan_power(ipmicmd): rsp = ipmicmd.xraw_command(netfn=0x32, command=0x90, data=(3,)) - rsp = rsp['data'] - rsp += '\x00' + rsp = bytes(rsp['data']) + rsp += b'\x00' return struct.unpack_from('