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

[tor-commits] [gettor/master] Update add_links_to_db script



commit d630e7a62e8207b0266535b3de0d15cfe9177595
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Wed May 22 15:13:28 2019 +0200

    Update add_links_to_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 3b194af..55fe127 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(",")[4]
+  version = versions.split(",")[0]
 
   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