Commit 474763eb authored by echel0n's avatar echel0n
Browse files

Fixed issue with being able to view debug logs

parent 73832b3d
......@@ -22,7 +22,8 @@
<label class="m-1">
<select name="minLevel" id="minLevel"
class="form-control form-control-inline">
<% levels = [x for x in if any([ and x in ['DEBUG','DB'], x not in ['DEBUG','DB']])]%>
<% levels = [x for x in if x not in ['DEBUG','DB']]%>
<% levels += [x for x in if ( or and x in ['DEBUG','DB']]%>
<% levels.sort(key=cmp_to_key(lambda x,y:[x] <[y])) %>
% for level in levels:
<option value="${[level]}" ${('', 'selected')[minLevel ==[level]]}>${level.title()}</option>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment