diff options
author | ficus <ficus@robocracy.org> | 2012-11-23 20:37:45 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-23 20:37:45 +0100 |
commit | 6909c51dbd2370c0ee1401121da7ee707cc90eb9 (patch) | |
tree | 8232a64b1fa5f0dd6e25788ab3d4eb85917c2ca8 /torouterui | |
parent | 53cf4fe0a96d0b5c310a14a60bcf7d12c1a520c4 (diff) | |
download | tui-6909c51dbd2370c0ee1401121da7ee707cc90eb9.tar.gz tui-6909c51dbd2370c0ee1401121da7ee707cc90eb9.zip |
fix trivial addr:port error
Diffstat (limited to 'torouterui')
-rw-r--r-- | torouterui/tor.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/torouterui/tor.py b/torouterui/tor.py index a44aea4..dd047ca 100644 --- a/torouterui/tor.py +++ b/torouterui/tor.py @@ -109,8 +109,7 @@ def save_tor_settings(form): conn.set_option('DNSListenAddress', form['tor_dnslistenaddress']) conn.set_option('SocksListenAddress', form['tor_sockslistenaddress']) conn.set_option('VirtualAddrNetwork', form['tor_virtualaddrnetwork']) - conn.set_options([('TransListenAddress', form['tor_translistenaddress']), - ('TransPort', form['tor_translistenport'])]) + conn.set_option('TransListenAddress', form['tor_translistenaddress']) if form.get('tor_enable') == 'true': conn.set_option('DisableNetwork', '0') |