From 338d496dfeeacbe4d8b277f2c5866ffa51612e40 Mon Sep 17 00:00:00 2001 From: Arturo FilastoĢ€ Date: Fri, 19 Aug 2011 17:43:31 +0200 Subject: Fix mistypo --- packages/torouter-web/src/tui/utils/parsing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/torouter-web') diff --git a/packages/torouter-web/src/tui/utils/parsing.py b/packages/torouter-web/src/tui/utils/parsing.py index d6aaf2b..b4dbaee 100644 --- a/packages/torouter-web/src/tui/utils/parsing.py +++ b/packages/torouter-web/src/tui/utils/parsing.py @@ -79,7 +79,7 @@ class interfaces: return output def output(self, data): - output = "iface %s" % data['iface'] + output = "iface %s\n" % data['iface'] for item in data.items(): if item[0] != "iface": if type(item[1]) is list: @@ -94,7 +94,7 @@ class interfaces: for entry in self.wifi['post-up']: if re.search("sys_cfg_ssid", entry): print essid - self.wifi['post-up'][i] = 'post-up /usr/bin/uaputl sys_cfg_ssid "' + essid + '"' + self.wifi['post-up'][i] = '/usr/bin/uaputl sys_cfg_ssid "' + essid + '"' i += 1 # XXX currently works for one pre-up entry, must make it work also for arrays -- cgit v1.2.3