mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 08:16:06 -07:00
Fix blacklisting of blank strings from ed8c7c1
This commit is contained in:
parent
cc919415bb
commit
0b126278f9
1 changed files with 3 additions and 3 deletions
|
@ -457,10 +457,10 @@ class Config(object):
|
||||||
|
|
||||||
for key, subkeys in self._config.iteritems():
|
for key, subkeys in self._config.iteritems():
|
||||||
for subkey, value in subkeys.iteritems():
|
for subkey, value in subkeys.iteritems():
|
||||||
if value and subkey.upper() not in _WHITELIST_KEYS and any(bk in subkey.upper() for bk in _BLACKLIST_KEYS):
|
if str(value).strip() and subkey.upper() not in _WHITELIST_KEYS and any(bk in subkey.upper() for bk in _BLACKLIST_KEYS):
|
||||||
blacklist.append(value)
|
blacklist.append(str(value).strip())
|
||||||
|
|
||||||
plexpy.logger._BLACKLIST_WORDS = blacklist
|
plexpy.logger._BLACKLIST_WORDS = filter(None, blacklist)
|
||||||
|
|
||||||
def _define(self, name):
|
def _define(self, name):
|
||||||
key = name.upper()
|
key = name.upper()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue