Use PY2 to check the Python version.

This commit is contained in:
Robin Dunn
2019-12-12 20:05:57 -08:00
parent 18b30fc2e6
commit 2244f954bb

View File

@@ -1394,7 +1394,7 @@ def cmd_build_wx(options, args):
if options.jom:
build_options.append('--jom')
if version2 == '2.7':
if PY2:
build_options.append('--no_dpi_aware')
else: