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 9e0b0f18e..29af27f02 100755
--- a/tools/pyboard.py
+++ b/tools/pyboard.py
@@ -671,7 +671,7 @@ def filesystem_command(pyb, args, progress_callback=None, verbose=False):
if dest is None or dest == "":
dest = src
elif dest == ".":
- dest = "/".join(".", src)
+ dest = "./" + src
elif dest.endswith("/"):
dest += src
return dest