diff options
author | 10se1ucgo <hammaadu1@gmail.com> | 2016-04-25 23:09:44 +0300 |
---|---|---|
committer | 10se1ucgo <hammaadu1@gmail.com> | 2016-04-25 23:09:44 +0300 |
commit | d0e30010dfb1ed777f04afdd3405cb3ebc9d72c3 (patch) | |
tree | 7f35c1b64f8430fe6aae8b7a3423a643ea6ae043 /dwt.py | |
parent | 5fbeb57d4cea4567a7b1b8ac459b900e29ecba34 (diff) |
admin check fix
Diffstat (limited to 'dwt.py')
-rw-r--r-- | dwt.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ class MainFrame(wx.Frame): menu_bar.Append(help_menu, "&Help") self.SetMenuBar(menu_bar) - if bool(windll.advpack.IsNTAdmin(0, None)): + if not bool(windll.advpack.IsNTAdmin(0, None)): warn = wx.MessageDialog(parent=self, message="Program requires elevation, please run it as an administrator.", caption="ERROR!", style=wx.OK | wx.ICON_WARNING) |