diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-30 20:39:35 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-30 20:39:35 +0300 |
commit | 962d5a987f363853ae6dc63572370c84cfd99448 (patch) | |
tree | 1687457320640dd707df67827977dc553d805031 /esp8266/scripts | |
parent | 006ffe1561f1ba8606758c326b608f27c65adb75 (diff) | |
download | micropython-962d5a987f363853ae6dc63572370c84cfd99448.tar.gz micropython-962d5a987f363853ae6dc63572370c84cfd99448.zip |
esp8266/scripts/webrepl: Switch to using _webrepl object wrapper.
Handling of binary protocol is untested on esp8266 so far.
Diffstat (limited to 'esp8266/scripts')
-rw-r--r-- | esp8266/scripts/webrepl.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/esp8266/scripts/webrepl.py b/esp8266/scripts/webrepl.py index ec0ee4e1d9..18c991287d 100644 --- a/esp8266/scripts/webrepl.py +++ b/esp8266/scripts/webrepl.py @@ -4,6 +4,7 @@ import uos import network import websocket import websocket_helper +import _webrepl listen_s = None client_s = None @@ -32,6 +33,7 @@ def accept_conn(listen_sock): client_s = cl websocket_helper.server_handshake(cl) ws = websocket.websocket(cl, True) + ws = _webrepl._webrepl(ws) cl.setblocking(False) # notify REPL on socket incoming data cl.setsockopt(socket.SOL_SOCKET, 20, uos.dupterm_notify) |