diff options
author | Yanfeng Liu <yfliu2008@qq.com> | 2025-07-16 17:15:52 +0800 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-07-20 22:59:06 +1000 |
commit | 5f55f8d01acd8a9f2223f62dd56a99b554d7f7a2 (patch) | |
tree | aa69f143ab9871eacc6cb6c737b71995f1a0eead /tools/pyboard.py | |
parent | a8d50fb6536a6073e2fc6969cf8ac6a273337332 (diff) |
tools/pyboard.py: Align execpty prefix.
This aligns the prefix string in L285 to that in L284 though the
two strings have equal length.
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
Diffstat (limited to 'tools/pyboard.py')
-rwxr-xr-x | tools/pyboard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pyboard.py b/tools/pyboard.py index 40928e8bb..50ecd33b7 100755 --- a/tools/pyboard.py +++ b/tools/pyboard.py @@ -282,7 +282,7 @@ class Pyboard: if device.startswith("exec:"): self.serial = ProcessToSerial(device[len("exec:") :]) elif device.startswith("execpty:"): - self.serial = ProcessPtyToTerminal(device[len("qemupty:") :]) + self.serial = ProcessPtyToTerminal(device[len("execpty:") :]) elif device and device[0].isdigit() and device[-1].isdigit() and device.count(".") == 3: # device looks like an IP address self.serial = TelnetToSerial(device, user, password, read_timeout=10) |