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:
author10se1ucgo <10se1ucgo@users.noreply.github.com>2015-08-20 04:51:25 +0300
committer10se1ucgo <10se1ucgo@users.noreply.github.com>2015-08-20 04:51:25 +0300
commit3bb28ce89bec19fc3f669b64e113481b46cdf7ac (patch)
tree51d897f08b0aef530e2d6c9c93a5836bca5093d2
parent21634f1e5a2d16583c98d94fd1a3303f9f895c15 (diff)
blarghv2.0
always that thing i forget
-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)