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

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



commit b95e35380e143859b1eecc493cb5bb0071d6eafe
Author: aagbsn <aagbsn@xxxxxxxx>
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')
 



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