mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Fix PlexPy log level filter
This commit is contained in:
parent
492d28ea37
commit
1cd0c112a6
3 changed files with 6 additions and 2 deletions
|
@ -2263,7 +2263,7 @@ class WebInterface(object):
|
|||
filt[tl][2] += '<br>' + l
|
||||
continue
|
||||
|
||||
log_levels = ['DEBUG', 'INFO', 'WARN', 'ERROR']
|
||||
log_levels = ['DEBUG', 'INFO', 'WARNING', 'ERROR']
|
||||
if log_level in log_levels:
|
||||
log_levels = log_levels[log_levels.index(log_level)::]
|
||||
filtered = [row for row in filt if row[1] in log_levels]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue