Bladeren bron

Merge branch 'bugfix/eclipse_make_py3_v3.3' into 'release/v3.3'

tools: Fix Python 3 incompatibility for building with Eclipse on Windows (v3.3)

See merge request espressif/esp-idf!10401
Angus Gratton 5 jaren geleden
bovenliggende
commit
1d8bf5356b
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      tools/windows/eclipse_make.py

+ 1 - 1
tools/windows/eclipse_make.py

@@ -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):