Change logger blacklist to set and unify notifier blacklist keys

This commit is contained in:
JonnyWong16 2017-12-01 12:00:50 -08:00
parent 31f03e0114
commit 9ba6b230e6
5 changed files with 64 additions and 56 deletions

View file

@ -36,7 +36,7 @@ FILENAME_WEBSOCKET = "plexpy_websocket.log"
MAX_SIZE = 5000000 # 5 MB
MAX_FILES = 5
_BLACKLIST_WORDS = []
_BLACKLIST_WORDS = set()
# PlexPy logger
logger = logging.getLogger("plexpy")