Merge branch 'bugfix/eclipse_make_py3' into 'master'

tools: Fix Python 3 incompatibility for building with Eclipse on Windows

See merge request espressif/esp-idf!10369
pull/5919/head
Ivan Grokhotkov 2020-09-10 00:34:11 +08:00
commit c284927222
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -20,7 +20,7 @@ def check_path(path):
pass
paths[path] = path # cache as failed, replace with success if it works
try:
winpath = subprocess.check_output(["cygpath", "-w", path]).strip()
winpath = subprocess.check_output(["cygpath", "-w", path]).decode().strip()
except subprocess.CalledProcessError:
return path # something went wrong running cygpath, assume this is not a path!
if not os.path.exists(winpath):