aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/src/tui/utils
diff options
context:
space:
mode:
authorArturo FilastoĢ€ <hellais@torproject.org>2011-08-19 17:43:31 +0200
committerArturo FilastoĢ€ <hellais@torproject.org>2011-08-19 17:43:31 +0200
commit338d496dfeeacbe4d8b277f2c5866ffa51612e40 (patch)
treef1402a9647a595ea12af5880f12fafcd43194652 /packages/torouter-web/src/tui/utils
parentfe239d1d9e8a590798abc31cd7bf7cf11324cfd5 (diff)
downloadtorouter-338d496dfeeacbe4d8b277f2c5866ffa51612e40.tar.gz
torouter-338d496dfeeacbe4d8b277f2c5866ffa51612e40.zip
Fix mistypo
Diffstat (limited to 'packages/torouter-web/src/tui/utils')
-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