aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/torouter-web/src')
-rw-r--r--packages/torouter-web/src/tui/utils/parsing.py4
1 files changed, 2 insertions, 2 deletions
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