summaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2018-09-17 23:38:20 -0400
committermorpheus65535 <[email protected]>2018-09-17 23:38:20 -0400
commit46d8c4935555bedb2a342c41be4643695f00533a (patch)
tree56296b33fce405d562630e78f03575c882540c17 /bazarr.py
parentaa952e7bce6ce01aa2c164b0fa5bebfb69b50f9b (diff)
downloadbazarr-46d8c4935555bedb2a342c41be4643695f00533a.tar.gz
bazarr-46d8c4935555bedb2a342c41be4643695f00533a.zip
Fix for Sonarr and Radarr settings testing
Diffstat (limited to 'bazarr.py')
-rw-r--r--bazarr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr.py b/bazarr.py
index 6c52fdb82..908afd903 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -1750,7 +1750,7 @@ def api_history():
@custom_auth_basic(check_credentials)
def test_url(protocol, url):
try:
- result = requests.get(protocol + "://" + url).json()['version']
+ result = requests.get(protocol + "://" + url, allow_redirects=False).json()['version']
except:
return dict(status=False)
else: