diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index ad52bf08..ce093f0a 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -34,8 +34,8 @@ pxearchs = { def decode_uuid(rawguid): - lebytes = struct.unpack_from('HHI', buffer(rawguid[8:])) + lebytes = struct.unpack_from('HHI', rawguid[8:]) return '{0:08X}-{1:04X}-{2:04X}-{3:04X}-{4:04X}{5:08X}'.format( lebytes[0], lebytes[1], lebytes[2], bebytes[0], bebytes[1], bebytes[2]).lower()