diff options
author | 10se1ucgo <10se1ucgo@users.noreply.github.com> | 2015-10-28 03:33:54 +0300 |
---|---|---|
committer | 10se1ucgo <10se1ucgo@users.noreply.github.com> | 2015-10-28 03:33:54 +0300 |
commit | 615e3d0399f2416692bf70a663038989e9bb3220 (patch) | |
tree | 151b1da3225bc3559fb871fc538c85a08b264e72 | |
parent | 951f5925424f2d2af8867b2bf95d42bf7065d939 (diff) |
Remove platform import
Not really needed.
-rw-r--r-- | run.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4,7 +4,6 @@ import os import subprocess import sys import _winreg -import platform import win32serviceutil import wx import wx.lib.wordwrap @@ -448,7 +447,7 @@ class MainFrame(wx.Frame): def osis64bit(): # Detect if OS is 64bit - if platform.machine().endswith('64'): + if os.environ['PROCESSOR_ARCHITEW6432'].endswith('64'): return True else: return False |