esp8266/websocket_helper.py: Fix typo in debug output.

This commit is contained in:
Paul Sokolovsky 2016-06-30 13:34:58 +03:00
parent 6a6e0b7e05
commit d1b7ba5dc1

View File

@ -41,7 +41,7 @@ def server_handshake(sock):
respkey = d.digest()
respkey = binascii.b2a_base64(respkey)[:-1]
if DEBUG:
print("respkey:", resp)
print("respkey:", respkey)
sock.send(b"""\
HTTP/1.1 101 Switching Protocols\r