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

[tor-commits] [ooni-probe/master] Fix unassigned variable use



commit 3c864e75f9bd2892770bcf5952308492ea2d9d99
Author: aagbsn <aagbsn@xxxxxxxx>
Date:   Sun Nov 2 19:51:27 2014 +0000

    Fix unassigned variable use
---
 ooni/api/spec.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ooni/api/spec.py b/ooni/api/spec.py
index ed5cd44..9756468 100644
--- a/ooni/api/spec.py
+++ b/ooni/api/spec.py
@@ -136,7 +136,7 @@ def get_reporters(net_test_loader):
     reporters.append(yaml_reporter)
 
     if config.reports.collector and collector_supported(config.reports.collector):
-        oonib_reporter = OONIBReporter(test_details, collector)
+        oonib_reporter = OONIBReporter(test_details, config.reports.collector)
         reporters.append(oonib_reporter)
     return reporters
 



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