mqtt: ignore type error in paho client

The original paho client was written without considering
static type checking.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-02-23 19:37:06 -05:00
parent 244004136c
commit 834fa2e4e0
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class ExtPahoClient(paho_mqtt.Client):
sock.do_handshake()
if verify_host:
ssl.match_hostname(sock.getpeercert(), self._host)
ssl.match_hostname(sock.getpeercert(), self._host) # type: ignore
if self._transport == "websockets":
sock.settimeout(self._keepalive)