diff --git a/moonraker/components/mqtt.py b/moonraker/components/mqtt.py index 80b3ba1..16ed802 100644 --- a/moonraker/components/mqtt.py +++ b/moonraker/components/mqtt.py @@ -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)