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

Commit

Permalink
blargh
Browse files Browse the repository at this point in the history
always that thing i forget
  • Loading branch information
10se1ucgo committed Aug 20, 2015
1 parent 21634f1 commit 3bb28ce
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 @@ -43,7 +43,7 @@ def __init__(self):
panel = wx.Panel(self) # Frame panel

# Test for elevation
if windll.shell32.IsUserAnAdmin() != 0:
if windll.shell32.IsUserAnAdmin() != 1:
warn = wx.MessageDialog(parent=None,
message="Program requires elevation, please run it as an administrator",
caption="ERROR", style=wx.OK | wx.ICON_WARNING)
Expand Down

0 comments on commit 3bb28ce

Please sign in to comment.