mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
Closes https://github.com/espressif/esp-idf/pull/6505
This commit is contained in:
parent
747ac00f9b
commit
63b3184aea
@ -21,7 +21,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]).decode().strip()
|
||||
winpath = subprocess.check_output(['cygpath', '-w', path]).decode('utf-8').strip()
|
||||
except subprocess.CalledProcessError:
|
||||
return path # something went wrong running cygpath, assume this is not a path!
|
||||
if not os.path.exists(winpath):
|
||||
|
Loading…
x
Reference in New Issue
Block a user