diff options
author | 10se1ucgo <10se1ucgo@users.noreply.github.com> | 2015-08-20 04:51:25 +0300 |
---|---|---|
committer | 10se1ucgo <10se1ucgo@users.noreply.github.com> | 2015-08-20 04:51:25 +0300 |
commit | 3bb28ce89bec19fc3f669b64e113481b46cdf7ac (patch) | |
tree | 51d897f08b0aef530e2d6c9c93a5836bca5093d2 | |
parent | 21634f1e5a2d16583c98d94fd1a3303f9f895c15 (diff) |
blarghv2.0
always that thing i forget
-rw-r--r-- | run.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ class MainFrame(wx.Frame): 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) |