mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 22:23:32 -07:00
use baseURL for Radarr
url isnt redefined with Radarr and only requires base
This commit is contained in:
parent
f04603691c
commit
471acaa6ba
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ class autoProcessMovie(object):
|
||||||
if section == "CouchPotato":
|
if section == "CouchPotato":
|
||||||
r = requests.get(url, params=params, verify=False, timeout=(30, 1800))
|
r = requests.get(url, params=params, verify=False, timeout=(30, 1800))
|
||||||
else:
|
else:
|
||||||
r = requests.post(url, data=json.dumps(payload), headers=headers, stream=True, verify=False, timeout=(30, 1800))
|
r = requests.post(baseURL, data=json.dumps(payload), headers=headers, stream=True, verify=False, timeout=(30, 1800))
|
||||||
except requests.ConnectionError:
|
except requests.ConnectionError:
|
||||||
logger.error("Unable to open URL", section)
|
logger.error("Unable to open URL", section)
|
||||||
return [1, "{0}: Failed to post-process - Unable to connect to {1}".format(section, section)]
|
return [1, "{0}: Failed to post-process - Unable to connect to {1}".format(section, section)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue