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

[tor-commits] [ooni-probe/master] URL must be utf-8



commit a20fa54590dd85f020d1f7ab07e1fa8007cd0b22
Author: aagbsn <aagbsn@xxxxxxxx>
Date:   Mon Sep 9 15:09:01 2013 +0200

    URL must be utf-8
---
 ooni/deck.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ooni/deck.py b/ooni/deck.py
index c284452..3b9e7ea 100644
--- a/ooni/deck.py
+++ b/ooni/deck.py
@@ -135,7 +135,7 @@ class Deck(InputFile):
             log.msg("Setting collector and test helpers for %s" % net_test_loader.testDetails['test_name'])
             if not net_test_loader.requiredTestHelpers:
                 log.msg("Using the default collector: %s" % response['default']['collector'])
-                net_test_loader.collector = response['default']['collector']
+                net_test_loader.collector = response['default']['collector'].encode('utf-8')
 
             for th in net_test_loader.requiredTestHelpers:
                 test_helper = response[th['name']]



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