1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00

Fixing up thin thin plugin

This commit is contained in:
Adolfo Gómez García 2017-11-20 14:56:19 +01:00
parent c566ec47a2
commit 004acbab9a

View File

@ -39,9 +39,9 @@ import json
import six
import osDetector
from .log import logger
class RetryException(Exception):
pass
@ -65,7 +65,7 @@ class RestRequest(object):
logger.debug('Requesting {}'.format(url))
try:
r = requests.get(url, headers={'Content-type': 'application/json', 'User-Agent': osDetector.getOs() + " - UDS Connector " + VERSION })
r = requests.get(url, headers={'Content-type': 'application/json', 'User-Agent': osDetector.getOs() + " - UDS Connector " + VERSION }, verify=False)
except requests.exceptions.ConnectionError as e:
raise Exception('Error connecting to UDS Server at {}'.format(self.restApiUrl[0:-11]))