[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-web/master] Update URL in censorship mails.
commit 767f1ddc5b916aa7252cee91de69005c2c5ab77d
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Wed Jan 22 13:17:22 2014 +0100
Update URL in censorship mails.
This change was already made on the server, but not in the code
repository. So this has no visible effect on mails sent out by the
censorship detector.
---
detector/detector.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/detector/detector.py b/detector/detector.py
index 2c51b5b..65e8e22 100644
--- a/detector/detector.py
+++ b/detector/detector.py
@@ -373,7 +373,7 @@ the number of direct Tor users in country 'country_code', for a
Let's hope that the metrics.tpo URL scheme doesn't change often.
"""
def get_tor_usage_graph_url_for_cc_and_date(country_code, dates, period):
- url = "https://metrics.torproject.org/users.html?graph=direct-users&start=%s&end=%s&country=%s&events=on&dpi=72#direct-users\n" % \
+ url = "https://metrics.torproject.org/users.html?graph=userstats-relay-country&start=%s&end=%s&country=%s&events=on#userstats-relay-country\n" % \
(dates[-period], dates[-1], country_code)
return url
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits