Commit e291e2a6 authored by Robert P. Cope's avatar Robert P. Cope
Browse files

Update baseclient.py

Fixed code bug with magic number.
parent 5505b25b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -248,7 +248,7 @@ class BaseClient(object):
        magic, proto_ln, value_ln = struct.unpack_from(">bii", buffer(msg))

        if magic!= 70:
            LOG.warn("Magic number = {0}".format(self.bytearray_to_hex(buff)))
            LOG.warn("Magic number = {0}".format(self.bytearray_to_hex(magic)))
            raise common.KineticClientException("Invalid Magic Value!") # 70 = 'F'

        # read proto message