Fix platformio path for Windows

This commit is contained in:
Ivan Kravets
2015-09-05 22:43:12 +03:00
parent 0a85e01322
commit 1f612b466c

View File

@ -120,7 +120,8 @@ class ProjectGenerator(object):
"user_home_dir": abspath(expanduser("~")), "user_home_dir": abspath(expanduser("~")),
"project_dir": self.project_dir, "project_dir": self.project_dir,
"systype": util.get_systype(), "systype": util.get_systype(),
"platformio_path": util.where_is_program("platformio"), "platformio_path": self._fix_os_path(
util.where_is_program("platformio")),
"env_pathsep": os.pathsep, "env_pathsep": os.pathsep,
"env_path": self._fix_os_path(os.getenv("PATH")) "env_path": self._fix_os_path(os.getenv("PATH"))
}) })