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

[tor-commits] [ooni-probe/master] Fix bug that lead to reports being marked as collected when they actually were not.



commit b8569e461a3d8beca873783a83446718b7e1f64d
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Thu Aug 7 18:50:11 2014 +0200

    Fix bug that lead to reports being marked as collected when they actually were not.
---
 ooni/reporter.py |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/ooni/reporter.py b/ooni/reporter.py
index 5497ed5..88a9dec 100644
--- a/ooni/reporter.py
+++ b/ooni/reporter.py
@@ -567,6 +567,8 @@ class Report(object):
                                                    self.collector_address)
 
         def created(report_id):
+            if not self.oonib_reporter:
+                return
             return self.report_log.created(self.report_filename,
                                            self.collector_address,
                                            report_id)



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