Skip to content

Commit 5ed1219

Browse files
authored
Merge pull request adafruit#972 from adafruit/tannewt-patch-1
Use Blocklist instead of blacklist
2 parents 5105757 + 04a3835 commit 5ed1219

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CPB_ANCS/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"com.apple.mobilephone": "/ancs_phone.bmp"
3535
}
3636

37-
BLACKLIST = []
37+
BLOCKLIST = []
3838
DELAY_AFTER_PRESS = 15
3939
DEBOUNCE = 0.1
4040
DIM_TIMEOUT = 20 # Amount of timeout to turn off backlight
@@ -123,7 +123,7 @@ def wrap_in_tilegrid(open_file):
123123
current_notifications = notification_service.active_notifications
124124
for notif_id in current_notifications:
125125
notification = current_notifications[notif_id]
126-
if notification.app_id not in APP_ICONS or notification.app_id in BLACKLIST:
126+
if notification.app_id not in APP_ICONS or notification.app_id in BLOCKLIST:
127127
continue
128128
all_ids.append(notif_id)
129129

0 commit comments

Comments
 (0)