tools/pyboard.py: Fix joining of path in filesystem_command.
This was broken by 5327cd1021
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
d54208a2ff
commit
b5ceb9d577
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue