Merge pull request #533 from guardicore/bugfix/handle_platform_correctly

Bugfix, installer should go according to Python bitnes
This commit is contained in:
Daniel Goldberg 2020-01-21 17:54:40 +02:00 committed by GitHub
commit 32db1cae1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# -*- mode: python -*- # -*- mode: python -*-
import os import os
import sys
import platform import platform
@ -48,7 +49,7 @@ def is_windows():
def is_32_bit(): def is_32_bit():
return platform.architecture()[0] == "32bit" return sys.maxsize <= 2**32
def get_bin_folder(): def get_bin_folder():