mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Fix unicode log errors
This commit is contained in:
parent
ad61e23d92
commit
c4fc94ea34
2 changed files with 4 additions and 5 deletions
|
@ -2316,8 +2316,8 @@ class WebInterface(object):
|
|||
# Add traceback message to previous msg.
|
||||
tl = (len(filt) - 1)
|
||||
n = len(l) - len(l.lstrip(' '))
|
||||
l = ' ' * (2 * n) + l[n:]
|
||||
filt[tl][2] += '<br>' + l
|
||||
ll = ' ' * (2 * n) + unicode(l[n:], 'utf-8')
|
||||
filt[tl][2] += '<br>' + ll
|
||||
continue
|
||||
|
||||
log_levels = ['DEBUG', 'INFO', 'WARNING', 'ERROR']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue