Skip to content

Commit b5ceb9d

Browse files
committed
tools/pyboard.py: Fix joining of path in filesystem_command.
This was broken by 5327cd1 Signed-off-by: Damien George <damien@micropython.org>
1 parent d54208a commit b5ceb9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/pyboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ def fname_cp_dest(src, dest):
671671
if dest is None or dest == "":
672672
dest = src
673673
elif dest == ".":
674-
dest = "/".join(".", src)
674+
dest = "./" + src
675675
elif dest.endswith("/"):
676676
dest += src
677677
return dest

0 commit comments

Comments
 (0)