Skip to content

Commit c676b56

Browse files
committed
feat: Update bytes dump
1 parent 203bd64 commit c676b56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roborock/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ def on_message(bytes: bytes):
112112
"""Callback function to handle incoming MQTT messages."""
113113
# Decode the first 20 bytes of the message for display
114114
bytes = bytes[:20]
115-
click.echo(f"Received message: b\"{bytes.decode('utf-8')}...\"")
115+
116+
click.echo(f"Received message: {bytes}...")
116117

117118
unsubs = []
118119
for device in all_devices:

0 commit comments

Comments
 (0)