mirror of https://github.com/morpheus65535/bazarr
Merge remote-tracking branch 'origin/master' into development
This commit is contained in:
commit
02d9dc4799
|
@ -1705,7 +1705,7 @@ def api_history():
|
||||||
def test_url(protocol, url):
|
def test_url(protocol, url):
|
||||||
url = urllib.unquote(url)
|
url = urllib.unquote(url)
|
||||||
try:
|
try:
|
||||||
result = requests.get(protocol + "://" + url, allow_redirects=False).json()['version']
|
result = requests.get(protocol + "://" + url, allow_redirects=False, verify=False).json()['version']
|
||||||
except:
|
except:
|
||||||
return dict(status=False)
|
return dict(status=False)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue