tools/pyboard.py: Fix joining of path in filesystem_command.
This was broken by 5327cd1021dc92cad428ff44cb114c4a94c0bc45 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…
x
Reference in New Issue
Block a user