8000 webrepl_cli.py: Fix parsing of remote host:port:file string. · micropython/webrepl@0e1209a · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e1209a

Browse files
committed
webrepl_cli.py: Fix parsing of remote host:port:file string.
Thanks to @mhoffma for the patch.
1 parent 0426b81 commit 0e1209a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webrepl_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def parse_remote(remote):
185185
fname = "/"
186186
port = 8266
187187
if ":" in host:
188-
host, port = remote.split(":")
188+
host, port = host.split(":")
189189
port = int(port)
190190
return (host, port, fname)
191191

0 commit comments

Comments
 (0)
0