From c9e23628d72aacaf57cdb87535c00ec11af99da4 Mon Sep 17 00:00:00 2001 From: elderamevans Date: Wed, 29 Jul 2015 11:06:46 +0200 Subject: [PATCH] Fix 'python' filename under Windows executable named 'python.exe' whatever major python version (2 or 3) --- po/update_po.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/update_po.py b/po/update_po.py index 92e8d7528..305c6fd71 100644 --- a/po/update_po.py +++ b/po/update_po.py @@ -62,7 +62,7 @@ if sys.platform == 'win32': msgfmtCmd = os.path.join('C:', 'Program Files(x86)', 'gettext', 'bin', 'msgfmt.exe') msgattribCmd = os.path.join('C:', 'Program Files(x86)', 'gettext', 'bin', 'msgattrib.exe') xgettextCmd = os.path.join('C:', 'Program Files(x86)', 'gettext', 'bin', 'xgettext.exe') - pythonCmd = os.path.join(sys.prefix, 'bin', 'python3.exe') + pythonCmd = os.path.join(sys.prefix, 'bin', 'python.exe') # Others OS