Fix arch setting

This commit is contained in:
Oleksii Shevchuk 2017-03-06 18:54:22 +02:00 committed by Oleksii Shevchuk
parent 4f1a508dd0
commit 7f9ea8c576
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ def install(debug=False):
import platform
platform._syscmd_uname = lambda *args, **kwargs: ''
platform.architecture = lambda *args, **kwargs: (
'32bit' if pupy.get_arch() is 'x86' else '64bit', ''
'32bit' if pupy.get_arch() == 'x86' else '64bit', ''
)
if 'win' in sys.platform: