Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/10se1ucgo/DisableWinTracking.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/dwt.py
diff options
context:
space:
mode:
author10se1ucgo <hammaadu1@gmail.com>2016-04-25 23:09:44 +0300
committer10se1ucgo <hammaadu1@gmail.com>2016-04-25 23:09:44 +0300
commitd0e30010dfb1ed777f04afdd3405cb3ebc9d72c3 (patch)
tree7f35c1b64f8430fe6aae8b7a3423a643ea6ae043 /dwt.py
parent5fbeb57d4cea4567a7b1b8ac459b900e29ecba34 (diff)
admin check fix
Diffstat (limited to 'dwt.py')
-rw-r--r--dwt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwt.py b/dwt.py
index 45ba766..9a53872 100644
--- a/dwt.py
+++ b/dwt.py
@@ -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)