Преглед изворни кода

[desktop] Fix unicode error in server logs

Server logs are having difficulty changing a string to unicode.
Ignoring the character causing an issue for now.
abec пре 13 година
родитељ
комит
dfcbaeb77c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      desktop/core/src/desktop/templates/logs.mako

+ 1 - 1
desktop/core/src/desktop/templates/logs.mako

@@ -31,7 +31,7 @@ ${layout.menubar(section='log_view')}
 		<% log.reverse() %>
 		<% log.reverse() %>
 		<pre>
 		<pre>
 		% for l in log:
 		% for l in log:
-${smart_unicode(l) | h}
+${smart_unicode(l, errors='ignore') | h}
 		% endfor
 		% endfor
 		</pre>
 		</pre>