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

hiro at torproject.org hiro at torproject.org
Fri Jun 21 11:13:27 UTC 2019


commit 94b4f329a0ca7fc74e2df9e83f9c04cde5107b6b
Author: hiro <hiro at torproject.org>
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/",



More information about the tor-commits mailing list