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
diff options
context:
space:
mode:
-rw-r--r--run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.py b/run.py
index 8c2a5dc..13a5011 100644
--- a/run.py
+++ b/run.py
@@ -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)