Skip to content

Commit 9d81273

Browse files
committed
mqtt-all: update display message
Signed-off-by: Alexandre Esse <[email protected]>
1 parent 55b5ec6 commit 9d81273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/mqtt-all.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def display_status(disp, mqtt_broker):
133133
text_colour = (255, 255, 255)
134134
back_colour = (0, 170, 170) if check_wifi() else (85, 15, 15)
135135
device_serial_number = get_serial_number()
136-
message = f"{device_serial_number}\nWi-Fi: {wifi_status}\nmqtt-broker: {mqtt_broker}"
136+
message = f"Serial: {device_serial_number}\nWi-Fi: {wifi_status}\nmqtt-broker: {mqtt_broker}"
137137
img = Image.new("RGB", (WIDTH, HEIGHT), color=(0, 0, 0))
138138
draw = ImageDraw.Draw(img)
139139
x1, y1, x2, y2 = draw.textbbox((0,0), message, font=font)

0 commit comments

Comments
 (0)