aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui
diff options
context:
space:
mode:
Diffstat (limited to 'torouterui')
-rw-r--r--torouterui/tor.py3
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')