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

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



commit 326175d0fc353bd90d4cb52df2f03ebe500be0ae
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Sat Aug 31 15:17:16 2019 +0200

    Update script add_links_to_db
---
 scripts/add_links_to_db | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/add_links_to_db b/scripts/add_links_to_db
index 896e2c1..718f551 100755
--- a/scripts/add_links_to_db
+++ b/scripts/add_links_to_db
@@ -61,7 +61,7 @@ def main():
 
     webFile = request.urlopen(TOR_BROWSER_DOWNLOADS)
     content = webFile.read()
-    jsonObj = json.loads(content)
+    jsonObj = json.loads(content.json())
     version = jsonObj.get("version", None)
     if version is None:
         print("Could not fetch version from {}.".format(TOR_BROWSER_DOWNLOADS))

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