esp8266/websocket_helper.py: Fix typo in debug output.
This commit is contained in:
parent
6a6e0b7e05
commit
d1b7ba5dc1
@ -41,7 +41,7 @@ def server_handshake(sock):
|
|||||||
respkey = d.digest()
|
respkey = d.digest()
|
||||||
respkey = binascii.b2a_base64(respkey)[:-1]
|
respkey = binascii.b2a_base64(respkey)[:-1]
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
print("respkey:", resp)
|
print("respkey:", respkey)
|
||||||
|
|
||||||
sock.send(b"""\
|
sock.send(b"""\
|
||||||
HTTP/1.1 101 Switching Protocols\r
|
HTTP/1.1 101 Switching Protocols\r
|
||||||
|
Loading…
x
Reference in New Issue
Block a user