From b5ceb9d5773d04a69dc92cb56e8e6b97043409b3 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 22 Mar 2023 15:17:55 +1100 Subject: [PATCH] tools/pyboard.py: Fix joining of path in filesystem_command. This was broken by 5327cd1021dc92cad428ff44cb114c4a94c0bc45 Signed-off-by: Damien George --- tools/pyboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pyboard.py b/tools/pyboard.py index 9e0b0f18ebd5..29af27f02ba2 100755 --- a/tools/pyboard.py +++ b/tools/pyboard.py @@ -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