mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 17:22:56 -07:00
Change logger blacklist to set and unify notifier blacklist keys
This commit is contained in:
parent
31f03e0114
commit
9ba6b230e6
5 changed files with 64 additions and 56 deletions
|
@ -84,6 +84,6 @@ def delete_mobile_device(device_id=None):
|
|||
def blacklist_logger():
|
||||
devices = get_mobile_devices()
|
||||
|
||||
blacklist = [d['device_token'] for d in devices]
|
||||
blacklist = set(d['device_token'] for d in devices)
|
||||
|
||||
logger._BLACKLIST_WORDS.extend(blacklist)
|
||||
logger._BLACKLIST_WORDS.update(blacklist)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue