Sensor.emoncms: Never disable SSL verification.
This commit is contained in:
parent
9f8acbec95
commit
d5ab292ff3
1 changed files with 1 additions and 2 deletions
|
@ -202,8 +202,7 @@ class EmonCmsData(object):
|
|||
"""Get the latest data."""
|
||||
try:
|
||||
req = requests.get(self._url, params={"apikey": self._apikey},
|
||||
verify=False, allow_redirects=True,
|
||||
timeout=5)
|
||||
allow_redirects=True, timeout=5)
|
||||
except requests.exceptions.RequestException as exception:
|
||||
_LOGGER.error(exception)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue