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

[tor-commits] [ooni-probe/master] Include icon in initialize API



commit dba7494c4adaa4efed5c34cf666f1f0c5b6d3d94
Author: Arturo Filastò <arturo@xxxxxxxxxxx>
Date:   Tue Jan 24 14:22:40 2017 +0000

    Include icon in initialize API
---
 ooni/ui/web/server.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ooni/ui/web/server.py b/ooni/ui/web/server.py
index 37b93dba..58c77132 100644
--- a/ooni/ui/web/server.py
+++ b/ooni/ui/web/server.py
@@ -297,7 +297,8 @@ class WebUIAPI(object):
                 'description': deck.description,
                 'schedule': deck.schedule,
                 'enabled': self.director.deck_store.is_enabled(deck_id),
-                'id': deck_id
+                'id': deck_id,
+                'icon': deck.icon
             })
         return self.render_json({"available_decks": available_decks}, request)
 



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