commit da2b17319dca42419f1c1f681645dde37c27033f Author: Arturo Filastò arturo@filasto.net Date: Tue Jul 19 23:43:09 2016 +0200
Fix #569 (#570)
"foo" == u"foo" is True, but "foo" is u"foo" is False.
Oh python, what you make me do... --- ooni/deck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ooni/deck.py b/ooni/deck.py index aee3da9..7906900 100644 --- a/ooni/deck.py +++ b/ooni/deck.py @@ -205,7 +205,7 @@ class Deck(InputFile): if net_test_loader.requiresTor: self.requiresTor = True except e.MissingTestHelper: - if self.preferred_backend is "onion": + if self.preferred_backend == "onion": self.requiresTor = True
self.netTestLoaders.append(net_test_loader)
tor-commits@lists.torproject.org