[tor-commits] [ooni-probe/master] Properly encode the helper address

art at torproject.org art at torproject.org
Sat Nov 23 11:11:41 UTC 2013


commit b95e35380e143859b1eecc493cb5bb0071d6eafe
Author: aagbsn <aagbsn at extc.org>
Date:   Fri Nov 22 16:50:16 2013 +0000

    Properly encode the helper address
---
 ooni/deck.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ooni/deck.py b/ooni/deck.py
index 7b8a8c4..d7b2d7e 100644
--- a/ooni/deck.py
+++ b/ooni/deck.py
@@ -177,7 +177,7 @@ class Deck(InputFile):
                     continue
                 test_helper = response[th['name']]
                 log.msg("Using this helper: %s" % test_helper)
-                th['test_class'].localOptions[th['option']] = test_helper['address']
+                th['test_class'].localOptions[th['option']] = test_helper['address'].encode('utf-8')
                 if net_test_loader in requires_collector:
                     net_test_loader.collector = test_helper['collector'].encode('utf-8')
 





More information about the tor-commits mailing list