[tor-commits] [ooni-probe/master] Fix bug in checking for the correct input hash.
art at torproject.org
art at torproject.org
Mon Sep 1 10:32:49 UTC 2014
commit 8c56b166ca5639e75bc2eeb6f54cd7bfd253481f
Author: Arturo Filastò <art at fuffa.org>
Date: Mon Sep 1 12:29:29 2014 +0200
Fix bug in checking for the correct input hash.
---
ooni/deck.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/ooni/deck.py b/ooni/deck.py
index 6ea6740..d01378c 100644
--- a/ooni/deck.py
+++ b/ooni/deck.py
@@ -203,6 +203,7 @@ class Deck(InputFile):
provided_net_tests = response['net-tests']
def find_collector_and_test_helpers(test_name, test_version, input_files):
+ input_files = [u""+x['hash'] for x in input_files]
for net_test in provided_net_tests:
if net_test['name'] != test_name:
continue
More information about the tor-commits
mailing list