Commit 326175d0 authored by Hiro's avatar Hiro 🏄
Browse files

Update script add_links_to_db

parent 755608ef
......@@ -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))
......
Markdown is supported
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