Skip to content

Commit 43d9f48

Browse files
committed
fixed error
1 parent 1da3c79 commit 43d9f48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ESP-NOW_basics/espnow_transceiver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ def get_sender_color(rx_message):
123123
sent_label.text = "TX'd: " # Keep this tomato colored
124124
sent_counter_label.text = str(message_count) # Color with sender color
125125
sent_counter_label.color = SENDER_COLORS.get(DEVICE_ID, WHITE)
126-
#pylint: disable=broad-exception-caught
127-
except Exception as ex:
126+
127+
except Exception as ex: # pylint: disable=broad-except
128128
print(f"Send failed: {ex}")
129129
status_label.text = "xxx"
130130
status_label.color = RED

0 commit comments

Comments
 (0)