From 87017533e7b3df2764363e1112c40eace5c1932d Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Thu, 24 May 2018 23:38:54 +0300 Subject: [PATCH] Fix upload flags when there is a space in path // Issue #79 --- builder/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/main.py b/builder/main.py index 380abd7..56e5fe2 100644 --- a/builder/main.py +++ b/builder/main.py @@ -240,7 +240,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 env.subst("$PIOFRAMEWORK") == "arduino": # Handle uploading via OTA