commit bf9e1f52ba60c89ca19e56d4d74fe481b3f1d791
Author: hiro <[email protected]>
Date:   Sat Aug 31 15:25:24 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 718f551..4017c01 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.json())
+    jsonObj = json.loads(content.decode('utf-8'))
     version = jsonObj.get("version", None)
     if version is None:
         print("Could not fetch version from {}.".format(TOR_BROWSER_DOWNLOADS))

_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to