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-04 01:02:03 +0300
committer10se1ucgo <hammaadu1@gmail.com>2015-08-04 01:02:03 +0300
commitcf98e4f22bfbb6b0259a4bd024ed2894acbad44e (patch)
treec319f88e1b32fa7b8a8c09c8e9c3428401ebd89d
parent0be17e737e53439aff260e25c459255ae0d5ed60 (diff)
arghv1.3
-rw-r--r--run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.py b/run.py
index bb31785..1a2dea5 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)