We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 199a0b8 + 52d6af6 commit b707805Copy full SHA for b707805
1 file changed
adafruit_minimqtt/adafruit_minimqtt.py
@@ -896,7 +896,7 @@ def _wait_for_msg(self, timeout=0.1):
896
897
# Block while we parse the rest of the response
898
self._sock.settimeout(timeout)
899
- if res in [None, b""]:
+ if res in [None, b"", b"\x00"]:
900
# If we get here, it means that there is nothing to be received
901
return None
902
if res[0] == MQTT_PINGRESP:
0 commit comments