Skip to content

Commit

Permalink
tools/pyboard.py: Fix joining of path in filesystem_command.
Browse files Browse the repository at this point in the history
This was broken by 5327cd1

Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Mar 22, 2023
1 parent d54208a commit b5ceb9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pyboard.py
Expand Up @@ -671,7 +671,7 @@ def fname_cp_dest(src, dest):
if dest is None or dest == "":
dest = src
elif dest == ".":
dest = "/".join(".", src)
dest = "./" + src
elif dest.endswith("/"):
dest += src
return dest
Expand Down

0 comments on commit b5ceb9d

Please sign in to comment.