diff --git a/builder/main.py b/builder/main.py index 483feb9..74ac3e0 100644 --- a/builder/main.py +++ b/builder/main.py @@ -305,7 +305,7 @@ def get_esptoolpy_reset_flags(resetmethod): UPLOADERFLAGS=["--debug", "--progress", "-i", "$UPLOAD_PORT"], UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS -f $SOURCE' ) - if "uploadfsota" in COMMAND_LINE_TARGETS: + if set(["uploadfs", "uploadfsota"]) & set(COMMAND_LINE_TARGETS): env.Append(UPLOADERFLAGS=["-s"]) upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")]