diff --git a/pyghmi/ipmi/command.py b/pyghmi/ipmi/command.py index 3ca7ab83..f43e0e1a 100644 --- a/pyghmi/ipmi/command.py +++ b/pyghmi/ipmi/command.py @@ -1012,7 +1012,7 @@ class Command(object): offset = 0 for chunk in chunks: cmddata = bytearray((0xdc, offset, len(chunk))) - cmddata += chunk + cmddata += bytearray(chunk, 'utf-8') self.xraw_command(netfn=0x2c, command=command, data=cmddata) def set_channel_access(self, channel=None,