commit 5aecb48681e10bc8a434afad26a9dd41f3dc7b00 Author: Arturo Filastò arturo@filasto.net Date: Thu Sep 22 16:02:46 2016 +0200
Country codes should be casted to lowercase otherwise on case sensitive filesystems it will not match the correct file.
This fixes the second bug related to #606 --- ooni/deck/store.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/ooni/deck/store.py b/ooni/deck/store.py index 3e20e01..d88f5d5 100644 --- a/ooni/deck/store.py +++ b/ooni/deck/store.py @@ -35,6 +35,7 @@ class InputStore(object): countries.append(country_code)
for cc in countries: + cc = cc.lower() in_file = self.resources.child("citizenlab-test-lists").child("{0}.csv".format(cc)) if not in_file.exists(): yield check_for_update(country_code)
tor-commits@lists.torproject.org