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

art at torproject.org art at torproject.org
Fri Dec 7 01:31:32 UTC 2012


commit 2425894859b7d8cf578a9dc9568adfdfc4626c73
Author: Arturo Filastò <art at fuffa.org>
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,





More information about the tor-commits mailing list