aboutsummaryrefslogtreecommitdiff
path: root/app/__init__.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-08-25 23:30:44 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-08-25 23:30:44 +0530
commit8f252a19d326114d5562f38cdf7c41c6288d86d2 (patch)
treebe1fdc6fdea2dbc82c654add8094a092194ff20c /app/__init__.py
parentdb190854040e790456bbbe74ee31b6cda635127c (diff)
changed bootstrap theme to solarized
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: