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:
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user