summaryrefslogtreecommitdiffstatshomepage
path: root/tools/pyboard.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-11-07 12:11:12 +0300
committerDamien George <damien.p.george@gmail.com>2015-11-07 13:48:35 +0000
commit89f2ddd2d0299f509a7ed48a0d22dc231385d747 (patch)
tree6fe0f1a6fcb4f36b7a1f3a377ed45d3c57e36374 /tools/pyboard.py
parentb7ca9458773ee18c0b0bb4de55b670e06b70ecc5 (diff)
downloadmicropython-89f2ddd2d0299f509a7ed48a0d22dc231385d747.tar.gz
micropython-89f2ddd2d0299f509a7ed48a0d22dc231385d747.zip
tools/pyboard.py: Don't add terminating \x04 character to stdout output.
Diffstat (limited to 'tools/pyboard.py')
-rwxr-xr-xtools/pyboard.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pyboard.py b/tools/pyboard.py
index 99c4b850c1..92c8d939a0 100755
--- a/tools/pyboard.py
+++ b/tools/pyboard.py
@@ -47,6 +47,7 @@ except AttributeError:
stdout = sys.stdout
def stdout_write_bytes(b):
+ b = b.replace(b"\x04", b"")
stdout.write(b)
stdout.flush()