Logs viewer bug

This commit is contained in:
morpheus65535 2018-01-01 09:51:09 -05:00
parent c7c1ae53c0
commit 91f06930d8
1 changed files with 7 additions and 1 deletions

View File

@ -32,7 +32,13 @@
%for log in logs:
%line = []
%line = log.split('|')
<tr class='log' data-message='{{line[2]}}' data-exception="{{line[3]}}">
<tr class='log' data-message='{{line[2]}}' data-exception="\\
%try:
{{line[3]}}\\
%except:
\\
%end
">
<td class="collapsing"><i class="\\
%if line[1] == 'INFO':
blue info circle \\