Send the value, not the text!

This commit is contained in:
Nico Schottelius 2016-09-17 04:30:02 +02:00
parent 8129c81491
commit 7d4fe87e05
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):
if dev == "9CD90BB52B6A1D01":
key, value = text.split("=")
ws = websocket.create_connection("wss://home-safety-visual.eu-gb.mybluemix.net/%s" % (key))
ws.send("%s" % (text))
ws.send("%s" % (value))
ws.close()
def devEUI(self, data):