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 committed 2023-02-24 07:08:42 -05:00
1 parent 244004136c
commit 834fa2e4e0
1 file changed
+1 -1
+1 -1
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)