From c09644d78c64ffb0cf23e4e77b36c0c95fe36271 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Mon, 25 Nov 2024 08:56:34 -0600 Subject: [PATCH] update timeout message --- adafruit_minimqtt/adafruit_minimqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_minimqtt/adafruit_minimqtt.py b/adafruit_minimqtt/adafruit_minimqtt.py index 6b1e5de..cdd0aca 100644 --- a/adafruit_minimqtt/adafruit_minimqtt.py +++ b/adafruit_minimqtt/adafruit_minimqtt.py @@ -930,7 +930,7 @@ def loop(self, timeout: float = 1.0) -> Optional[list[int]]: """ if timeout < self._socket_timeout: raise MMQTTException( - f"loop timeout ({timeout}) must be bigger " + f"loop timeout ({timeout}) must be >= " + f"than socket timeout ({self._socket_timeout}))" )