From d29b44bdf394478fa1d0d0376a3b4c6d4136c8c6 Mon Sep 17 00:00:00 2001 From: Radoslav Gerganov Date: Mon, 13 Feb 2017 16:30:19 +0200 Subject: [PATCH] Fix bug in handling VM-VC-UUID --- vspc/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vspc/server.py b/vspc/server.py index b72d587..046140d 100755 --- a/vspc/server.py +++ b/vspc/server.py @@ -107,7 +107,7 @@ class VspcServer(object): def handle_vm_vc_uuid(self, socket, data): peer = socket.getpeername() - uuid = data[2:].decode('ascii') + uuid = data.decode('ascii') LOG.debug("<< %s VM-VC-UUID %s", peer, uuid) uuid = uuid.replace(' ', '') self.sock_to_uuid[socket] = uuid