aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorkidburglar <[email protected]>2019-01-05 15:08:56 +0100
committerkidburglar <[email protected]>2019-01-05 15:08:56 +0100
commit83237af9ce8303322e6033a878838b6df9cc7e8c (patch)
treeca25452b87e07234cc43d4b433f6601bb5618308
parentdb16f7df4b83d0a225d519e8037b55764f3d0d5f (diff)
downloadbazarr-83237af9ce8303322e6033a878838b6df9cc7e8c.tar.gz
bazarr-83237af9ce8303322e6033a878838b6df9cc7e8c.zip
Add verify=False for the test_url route
-rw-r--r--bazarr/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/main.py b/bazarr/main.py
index 6cce0b36e..77ecdf7ce 100644
--- a/bazarr/main.py
+++ b/bazarr/main.py
@@ -1736,7 +1736,7 @@ def api_history():
def test_url(protocol, url):
url = urllib.unquote(url)
try:
- result = requests.get(protocol + "://" + url, allow_redirects=False).json()['version']
+ result = requests.get(protocol + "://" + url, allow_redirects=False, verify=False).json()['version']
except:
return dict(status=False)
else: