From d1b7ba5dc179570f2989d2eefabda4b4e9f6d8ae Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Thu, 30 Jun 2016 13:34:58 +0300
Subject: [PATCH] esp8266/websocket_helper.py: Fix typo in debug output.

---
 esp8266/scripts/websocket_helper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/esp8266/scripts/websocket_helper.py b/esp8266/scripts/websocket_helper.py
index 4c388a028..9c06db502 100644
--- a/esp8266/scripts/websocket_helper.py
+++ b/esp8266/scripts/websocket_helper.py
@@ -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
-- 
GitLab