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:
parent
244004136c
commit
834fa2e4e0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue