From 577f4e2d806829a89c07a0dc92efe1b3901c53ce Mon Sep 17 00:00:00 2001 From: Dhananjay Sathe Date: Thu, 16 May 2013 15:58:05 +0200 Subject: [PATCH] Variable fixes --- rce-comm/rce/comm/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rce-comm/rce/comm/client.py b/rce-comm/rce/comm/client.py index c600998..b91e3af 100644 --- a/rce-comm/rce/comm/client.py +++ b/rce-comm/rce/comm/client.py @@ -105,10 +105,10 @@ def sendMessage(self, msg): def send(msg): binaries, jsonMsg = recursiveBinarySearch(msg) - if not uriBinary : - WebSocketClientProtocol.sendMessage(self, json.dumps(msgURI)) + if not binaries : + WebSocketClientProtocol.sendMessage(self, json.dumps(jsonMsg)) else: - self._buffermanager.push_data((uriBinary, msgURI)) + self._buffermanager.push_data((binaries, jsonMsg)) if isInIOThread():