mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 10:46:02 -04:00
Merge branch 'bugfix/eclipse_make_decode' into 'master'
tools: Fix Eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte” Closes IDFGH-4693 See merge request espressif/esp-idf!12309
This commit is contained in:
commit
890ee19ee4
@ -21,7 +21,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]).decode().strip()
|
winpath = subprocess.check_output(['cygpath', '-w', path]).decode('utf-8').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):
|
||||||
|
Loading…
Reference in New Issue
Block a user