[Dependency Downloader] Fixed last patch (arguments)
This commit is contained in:
parent
aa7c8145dd
commit
129889a0f5
|
|
@ -157,7 +157,7 @@ def end_show_progress():
|
||||||
stdout.flush()
|
stdout.flush()
|
||||||
|
|
||||||
|
|
||||||
def get_request(request, url):
|
def get_request(url):
|
||||||
retry = 4
|
retry = 4
|
||||||
while retry:
|
while retry:
|
||||||
r = requests.get(url, timeout=20, allow_redirects=True, headers={'User-Agent': USER_AGENT})
|
r = requests.get(url, timeout=20, allow_redirects=True, headers={'User-Agent': USER_AGENT})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue