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

@ -3495,7 +3495,7 @@ class WebInterface(object):
apikey = uuid.uuid4().hex
logger.info(u"New API key generated.")
logger._BLACKLIST_WORDS.append(apikey)
logger._BLACKLIST_WORDS.add(apikey)
if device == 'true':
mobile_app.TEMP_DEVICE_TOKEN = apikey