mirror of https://github.com/n1nj4sec/pupy.git
Fix arch setting
This commit is contained in:
parent
4f1a508dd0
commit
7f9ea8c576
|
@ -370,7 +370,7 @@ def install(debug=False):
|
||||||
import platform
|
import platform
|
||||||
platform._syscmd_uname = lambda *args, **kwargs: ''
|
platform._syscmd_uname = lambda *args, **kwargs: ''
|
||||||
platform.architecture = 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:
|
if 'win' in sys.platform:
|
||||||
|
|
Loading…
Reference in New Issue