mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 14:13:33 -07:00
parent
c07745d79c
commit
8570a6bfc8
7 changed files with 28 additions and 24 deletions
|
@ -54,7 +54,7 @@ class autoProcessGames:
|
|||
logger.debug("Opening URL: %s" % (url),section)
|
||||
|
||||
try:
|
||||
r = requests.get(url, params=params, verify=False)
|
||||
r = requests.get(url, params=params, verify=False, timeout=(30, 300))
|
||||
except requests.ConnectionError:
|
||||
logger.error("Unable to open URL")
|
||||
return [1, "%s: Failed to post-process - Unable to connect to %s" % (section, section) ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue