commit 1074fa0a3b621da4591aad2e28a8fc4f1530fc1f
parent 7dca05dc0fac9571c64353d278ca13b1edf02555
Author: rbckman <rob@tarina.org>
Date: Fri, 13 Nov 2020 17:26:35 +0000
fixing sysarg
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tarina.py b/tarina.py
@@ -154,7 +154,7 @@ def main():
oldtake = take
#TURN OFF WIFI AND TARINA SERVER
- if str(sys.argv[0]) == 'default':
+ if sys.argv[1] == 'default':
serverstate = 'off'
wifistate = 'off'
run_command('sudo iwconfig wlan0 txpower off')