mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
Checks for false positive 64 bit
This commit is contained in:
parent
3e24b2f86e
commit
15d89789f2
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ class SystemConfiguration(object):
|
|||
return 64
|
||||
else:
|
||||
if self.operating_system == u"mac":
|
||||
if os.uname()[4] == u"x86_64":
|
||||
return 64
|
||||
raise NotSupportedError(u"Your processor is determined to have a maxSize of" + str(sys.maxsize) +
|
||||
u",\n which doesn't correspond with a 64-bit architecture.")
|
||||
return 32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue