Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
argh
Browse files Browse the repository at this point in the history
  • Loading branch information
10se1ucgo committed Aug 3, 2015
1 parent 0be17e7 commit cf98e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, parent, title):
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)
Expand Down

0 comments on commit cf98e4f

Please sign in to comment.