mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
Properly encode FileLogger's readline output. Resolve #1875.
This commit is contained in:
parent
7af0667122
commit
fceb7a985d
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