From f767482513eeef4366df1b1d15e9f77016d67680 Mon Sep 17 00:00:00 2001 From: Daniel Goldberg Date: Thu, 5 Mar 2020 20:20:37 +0200 Subject: [PATCH] Hotpatch, don't check the host OS for bitness in island spec file but check python version. --- monkey/monkey_island/monkey_island.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/monkey_island.spec b/monkey/monkey_island/monkey_island.spec index 2d8e73e0a..cac232674 100644 --- a/monkey/monkey_island/monkey_island.spec +++ b/monkey/monkey_island/monkey_island.spec @@ -47,7 +47,7 @@ def is_windows(): def is_32_bit(): - return platform.architecture()[0] == "32bit" + return sys.maxsize <= 2**32 def process_datas(orig_datas):