From 8f252a19d326114d5562f38cdf7c41c6288d86d2 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 25 Aug 2020 23:30:44 +0530 Subject: changed bootstrap theme to solarized --- app/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/__init__.py') 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: -- cgit v1.2.3