diff --git a/src/common/shell-micropython.js b/src/common/shell-micropython.js index 81fb6080..bf1c8ea7 100755 --- a/src/common/shell-micropython.js +++ b/src/common/shell-micropython.js @@ -12,7 +12,7 @@ export default class ShellMicroPython extends Shell { async burn(config) { const info = { indexPath: path.resolve(CLIENT_PATH, config.boardDirPath), - esptool: `"${PYTHON.path.cli}" "${MICROPYTHON.path.esptool}`, + esptool: `"${PYTHON.path.cli}" "${MICROPYTHON.path.esptool}"`, com: config.port }; const command = MString.tpl(config.command, info); @@ -22,7 +22,7 @@ export default class ShellMicroPython extends Shell { async upload(config) { const info = { indexPath: path.resolve(CLIENT_PATH, config.boardDirPath), - ampy: `"${PYTHON.path.cli}" "${MICROPYTHON.path.ampy}`, + ampy: `"${PYTHON.path.cli}" "${MICROPYTHON.path.ampy}"`, com: config.port }; const command = MString.tpl(config.command, info);