From b0eb2ab877ba9e87525ecb824f08add7e05d6e8b Mon Sep 17 00:00:00 2001 From: valeros Date: Thu, 27 Sep 2018 21:31:39 +0300 Subject: [PATCH] Escape space symbol in the image path // Issue #118, #121 --- builder/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/main.py b/builder/main.py index ab5e7e3..24ccddc 100644 --- a/builder/main.py +++ b/builder/main.py @@ -268,7 +268,7 @@ if upload_protocol == "esptool": UPLOADOTACMD='"$PYTHONEXE" "$UPLOADEROTA" $UPLOADEROTAFLAGS -f $SOURCE', ) for image in env.get("FLASH_EXTRA_IMAGES", []): - env.Append(UPLOADERFLAGS=[image[0], "%s" % image[1]]) + env.Append(UPLOADERFLAGS=[image[0], '"%s"' % image[1]]) if "uploadfs" in COMMAND_LINE_TARGETS: env.Replace(