From 3c7954ea497649a4cd6520842151deb632bc4723 Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Wed, 9 Sep 2020 12:59:07 +0200 Subject: [PATCH] tools: Fix Python 3 incompatibility for building with Eclipse on Windows --- tools/windows/eclipse_make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/windows/eclipse_make.py b/tools/windows/eclipse_make.py index 76f510c0b1..4f877ccf82 100644 --- a/tools/windows/eclipse_make.py +++ b/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):