From 3bb28ce89bec19fc3f669b64e113481b46cdf7ac Mon Sep 17 00:00:00 2001 From: 10se1ucgo <10se1ucgo@users.noreply.github.com> Date: Wed, 19 Aug 2015 21:51:25 -0400 Subject: [PATCH] blargh always that thing i forget --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 8c2a5dc..13a5011 100644 --- a/run.py +++ b/run.py @@ -43,7 +43,7 @@ def __init__(self): 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)