diff --git a/moonraker/components/mqtt.py b/moonraker/components/mqtt.py index 31b7359..07aa79e 100644 --- a/moonraker/components/mqtt.py +++ b/moonraker/components/mqtt.py @@ -63,7 +63,7 @@ class ExtPahoClient(paho_mqtt.Client): if self._port <= 0: raise ValueError('Invalid port number.') - if PAHO_MQTT_VERSION >=(2, 0): + if PAHO_MQTT_VERSION >= (2, 0): return self._v2_reconnect(sock) if PAHO_MQTT_VERSION < (1, 6): # Paho Mqtt Version < 1.6.x