Commit bf9e1f52 authored by Hiro's avatar Hiro 🏄
Browse files

Update script add_links_to_db

parent 326175d0
......@@ -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))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment