aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-24 18:49:18 +0200
committerficus <ficus@robocracy.org>2012-09-24 18:49:18 +0200
commit49ec1f025b529c52eaee50af37ffc0b23a9f7124 (patch)
treeb660ee6567df25cfbcfa43eef39c24c57643d8a7
parenta5f4f19a0369cc6d20e6da26434e0b78e38b12a5 (diff)
downloadtui-49ec1f025b529c52eaee50af37ffc0b23a9f7124.tar.gz
tui-49ec1f025b529c52eaee50af37ffc0b23a9f7124.zip
fix to new wifi status function
-rw-r--r--torouterui/netif.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/torouterui/netif.py b/torouterui/netif.py
index 2738b26..9c9b08a 100644
--- a/torouterui/netif.py
+++ b/torouterui/netif.py
@@ -157,7 +157,7 @@ def parse_uaputl():
"""
d = dict()
uapinfo = cli_read_lines('uaputl sys_config')
- if 0 == len(iwinfo):
+ if 0 == len(uapinfo):
raise Exception('problem reading uaputl configuration')
for l in uapinfo:
l = l.strip()