No timeout for final try

This commit is contained in:
Akash authored and GitHub committed 2020-07-18 18:29:41 +05:30
1 parent e8efed2e2f
commit 58d2d585c8
1 file changed
+1 -1
+1 -1
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