Skip to content

Commit

Permalink
Variable fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dhananjaysathe committed May 16, 2013
1 parent 4981d28 commit 577f4e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rce-comm/rce/comm/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 577f4e2

Please sign in to comment.