No timeout for final try
This commit is contained in:
parent
e8efed2e2f
commit
58d2d585c8
@ -75,7 +75,7 @@ class Url():
|
|||||||
response = urlopen(req, timeout=30) #nosec
|
response = urlopen(req, timeout=30) #nosec
|
||||||
except Exception:
|
except Exception:
|
||||||
try:
|
try:
|
||||||
response = urlopen(req, timeout=300) #nosec
|
response = urlopen(req) #nosec
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise WaybackError(e)
|
raise WaybackError(e)
|
||||||
header = response.headers
|
header = response.headers
|
||||||
|
Loading…
Reference in New Issue
Block a user