mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Properly encode FileLogger's readline output. Resolve #1875.
This commit is contained in:
parent
47b362738d
commit
6b2c2ee6e3
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ class EvenniaLogFile(logfile.LogFile):
|
|||
Returns:
|
||||
lines (list): lines from our _file attribute.
|
||||
"""
|
||||
return self._file.readlines(*args, **kwargs)
|
||||
return [line.decode('utf-8') for line in self._file.readlines(*args, **kwargs)]
|
||||
|
||||
|
||||
_LOG_FILE_HANDLES = {} # holds open log handles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue