No timeout for final try

This commit is contained in:
Akash 2020-07-18 18:29:41 +05:30 committed by GitHub
parent e8efed2e2f
commit 58d2d585c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ class Url():
response = urlopen(req, timeout=30) #nosec
except Exception:
try:
response = urlopen(req, timeout=300) #nosec
response = urlopen(req) #nosec
except Exception as e:
raise WaybackError(e)
header = response.headers