Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adafruit_minimqtt/adafruit_minimqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ def _wait_for_msg( # noqa: PLR0912, Too many branches
return None
raise MMQTTException from error

if res in [None, b"", b"\x00"]:
if res in [None, b""]:
# If we get here, it means that there is nothing to be received
return None
pkt_type = res[0] & MQTT_PKT_TYPE_MASK
Expand Down
Loading