Fix PlexPy log level filter

This commit is contained in:
JonnyWong16 2016-09-24 19:29:26 -07:00
parent 492d28ea37
commit 1cd0c112a6
3 changed files with 6 additions and 2 deletions

View file

@ -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]