kopia lustrzana https://github.com/espressif/esp-idf
tools: Fix Python 3 incompatibility for building with Eclipse on Windows
rodzic
b5e9047e47
commit
3c7954ea49
|
@ -20,7 +20,7 @@ def check_path(path):
|
||||||
pass
|
pass
|
||||||
paths[path] = path # cache as failed, replace with success if it works
|
paths[path] = path # cache as failed, replace with success if it works
|
||||||
try:
|
try:
|
||||||
winpath = subprocess.check_output(["cygpath", "-w", path]).strip()
|
winpath = subprocess.check_output(["cygpath", "-w", path]).decode().strip()
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
return path # something went wrong running cygpath, assume this is not a path!
|
return path # something went wrong running cygpath, assume this is not a path!
|
||||||
if not os.path.exists(winpath):
|
if not os.path.exists(winpath):
|
||||||
|
|
Ładowanie…
Reference in New Issue