diff options
author | 10se1ucgo <hammaadu1@gmail.com> | 2015-08-04 01:02:03 +0300 |
---|---|---|
committer | 10se1ucgo <hammaadu1@gmail.com> | 2015-08-04 01:02:03 +0300 |
commit | cf98e4f22bfbb6b0259a4bd024ed2894acbad44e (patch) | |
tree | c319f88e1b32fa7b8a8c09c8e9c3428401ebd89d | |
parent | 0be17e737e53439aff260e25c459255ae0d5ed60 (diff) |
arghv1.3
-rw-r--r-- | run.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |