Add newlines between error log lines on the Logs & Errors page.

Removing the trailing newline meant central text newlines were also removed.
This commit is contained in:
JackDandy 2015-05-09 16:49:10 +01:00
parent f84fc7ebbc
commit eb669ac7b0
2 changed files with 2 additions and 1 deletions

View file

@ -57,6 +57,7 @@ down select to dynamically hide/show the list of group names and change the resp
insert space between items in the list of group names for readability. Notify user if an attempt to remove an in use
group name is prevented. PEP8 and code cleanup to SG conventions. Removed fixed column widths, this means multiple groups
have different column widths, but the original approach is preferred because fixed widths look bad with long show titles.
Add newlines between error log lines on the Logs & Errors page.
### 0.8.3 (2015-04-25 08:48:00 UTC)

View file

@ -19,7 +19,7 @@
<div class="align-left"><pre>
#if $classes.ErrorViewer.errors
#for $curError in sorted($classes.ErrorViewer.errors, key=lambda error: error.time, reverse=True)[:500]
#echo '%s %s' % ($curError.time, $curError.message)
#echo '%s %s\n' % ($curError.time, $curError.message)
#end for
#end if
</pre></div>