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

[tor-commits] [ooni-probe/master] Remove debug



commit 19f2fc8b08bd5a3172388044ee766b6aa75c45d7
Author: Arturo Filastò <arturo@xxxxxxxxxxx>
Date:   Mon Jul 18 20:16:55 2016 +0200

    Remove debug
---
 ooni/ui/web/server.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ooni/ui/web/server.py b/ooni/ui/web/server.py
index ca51041..e97cd8b 100644
--- a/ooni/ui/web/server.py
+++ b/ooni/ui/web/server.py
@@ -94,11 +94,10 @@ class WebUIAPI(object):
 
     def failed_measurement(self, measurement_id, failure):
         del self.status['active_measurements'][measurement_id]
-        self.add_failure(failure)
+        self.add_failure(str(failure))
 
     @app.route('/api/status', methods=["GET"])
     def api_status(self, request):
-        print("Rendering status...")
         return self.render_json(self.status, request)
 
     @app.route('/api/status/update', methods=["GET"])



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