Verify ssl by default

This commit is contained in:
Odd Stråbø 2021-10-19 23:00:23 +02:00
parent 5998206458
commit 04b1fcea48
2 changed files with 3 additions and 4 deletions

View file

@ -558,7 +558,7 @@ class PlayUtils(object):
path = os.path.join(temp, filename)
try:
response = requests.get(src, stream=True, verify=False)
response = requests.get(src, stream=True, verify=settings('sslverify.bool'))
response.raise_for_status()
except Exception as error:
LOG.exception(error)