Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/10se1ucgo/DisableWinTracking.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author10se1ucgo <hammaadu1@gmail.com>2015-08-03 22:54:49 +0300
committer10se1ucgo <hammaadu1@gmail.com>2015-08-03 22:54:49 +0300
commita197ed167d1546cf72216020bb8aad32e4d8fe77 (patch)
treec5e9c586781f40ae557be00734d739b8d6f93302
parent6535630ca982ff9d24e051c8dc1a19b296f110f1 (diff)
oopsv1.2
-rw-r--r--run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.py b/run.py
index 8630f18..ce23e1b 100644
--- a/run.py
+++ b/run.py
@@ -23,7 +23,7 @@ class WinFrame(wx.Frame):
self.redir = RedirectText(self.debug)
sys.stdout = self.redir
- if ctypes.windll.shell32.IsUserAnAdmin() != 0:
+ if ctypes.windll.shell32.IsUserAnAdmin() != 1:
self.warn = wx.MessageDialog(parent=wxpanel,
message="Program requires elevation, please run it as an administrator",
caption="ERROR", style=wx.OK | wx.ICON_WARNING)