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

[tor-commits] [gettor/master] Fix link in DB script



commit 94b4f329a0ca7fc74e2df9e83f9c04cde5107b6b
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Fri Jun 21 13:13:22 2019 +0200

    Fix link in DB script
---
 scripts/add_lins_to_db | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/add_lins_to_db b/scripts/add_lins_to_db
index c06153f..fb121be 100755
--- a/scripts/add_lins_to_db
+++ b/scripts/add_lins_to_db
@@ -55,7 +55,7 @@ def main():
 
   webFile = request.urlopen("https://www.torproject.org/projects/torbrowser/RecommendedTBBVersions/";)
   versions = webFile.read().decode('utf-8').translate({ord(c): None for c in '[]\n" '})
-  version = versions.split(",")[0]
+  version = versions.split(",")[-12]
 
   providers = {
     "gitlab": "https://gitlab.com/thetorproject/gettorbrowser/raw/releases/";,

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