Skip to content

Update the global variable on request_tor

From my limited understanding of python, setting response outside its global declaration will make a new local variable with that name, making the new downloads.json available only in the request_tor scope.

This MR marks response as global.

(To test this, make the response in main be the downloads.json of a no-longer-available version (like 10.0.0) and print response["version"] in download_tor before and after applying this MR)

Should

fix #45 (closed)

Edited by GeopJr

Merge request reports