summaryrefslogtreecommitdiff
path: root/tools/pyboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pyboard.py')
-rwxr-xr-xtools/pyboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pyboard.py b/tools/pyboard.py
index 0cf5b3d46..d49365f61 100755
--- a/tools/pyboard.py
+++ b/tools/pyboard.py
@@ -530,7 +530,7 @@ class Pyboard:
def repr_consumer(b):
buf.extend(b.replace(b"\x04", b""))
- cmd = "import os\nfor f in os.ilistdir(%s):\n" " print(repr(f), end=',')" % (
+ cmd = "import os\nfor f in os.ilistdir(%s):\n print(repr(f), end=',')" % (
("'%s'" % src) if src else ""
)
try: