[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Tor2webMode takes a boolean 0|1



commit 2425894859b7d8cf578a9dc9568adfdfc4626c73
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Fri Dec 7 02:07:31 2012 +0100

    Tor2webMode takes a boolean 0|1
---
 oonib/runner.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/oonib/runner.py b/oonib/runner.py
index 44cfe9c..407f10d 100644
--- a/oonib/runner.py
+++ b/oonib/runner.py
@@ -41,7 +41,7 @@ def startTor():
     torconfig = txtorcon.TorConfig()
     torconfig.SocksPort = 9055
     if config.main.tor2webmode:
-        torconfig.Tor2webMode = True
+        torconfig.Tor2webMode = 1
     torconfig.save()
     d = txtorcon.launch_tor(torconfig, reactor,
             tor_binary=config.main.tor_binary,



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits