From 49ec1f025b529c52eaee50af37ffc0b23a9f7124 Mon Sep 17 00:00:00 2001 From: ficus Date: Mon, 24 Sep 2012 18:49:18 +0200 Subject: fix to new wifi status function --- torouterui/netif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'torouterui') 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() -- cgit v1.2.3