From 6909c51dbd2370c0ee1401121da7ee707cc90eb9 Mon Sep 17 00:00:00 2001 From: ficus Date: Fri, 23 Nov 2012 20:37:45 +0100 Subject: fix trivial addr:port error --- torouterui/tor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'torouterui') 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') -- cgit v1.2.3