aboutsummaryrefslogtreecommitdiff
path: root/app/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/__init__.py')
-rw-r--r--app/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/__init__.py b/app/__init__.py
index c018044..b4b9ea8 100644
--- a/app/__init__.py
+++ b/app/__init__.py
@@ -10,7 +10,7 @@ import hashlib
ssid = b'j\xa0\x1b\xd6p\xe9\xa4\\b\x12\xedD\xaeX\x8a\xf8'
try:
- output = subprocess.check_output(['sudo', 'iwgetid'])
+ output = subprocess.check_output(['iwgetid'])
if hashlib.md5(bytes(output.decode().split('"')[1],encoding="utf-8")).digest() == ssid:
DB_HOST = '192.168.1.6'
except: