mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Keep invalid device tokens in logger blacklist
This commit is contained in:
parent
d20d2b5155
commit
f3bd1bb80d
1 changed files with 0 additions and 1 deletions
|
@ -49,7 +49,6 @@ def set_temp_device_token(token=None, remove=False, add=False, success=False):
|
|||
if isinstance(TEMP_DEVICE_TOKENS[token], threading.Timer):
|
||||
TEMP_DEVICE_TOKENS[token].cancel()
|
||||
del TEMP_DEVICE_TOKENS[token]
|
||||
logger._BLACKLIST_WORDS.discard(token)
|
||||
|
||||
elif token not in TEMP_DEVICE_TOKENS and add:
|
||||
invalidate_time = 5 * 60 # 5 minutes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue