diff options
Diffstat (limited to 'rcon.py')
-rw-r--r-- | rcon.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ class JournalViewer: self.pipefd, writefd = os.pipe() fl = fcntl.fcntl(self.pipefd, fcntl.F_GETFL) fcntl.fcntl(self.pipefd, fcntl.F_SETFL, fl | os.O_NONBLOCK) - self.pipe = os.fdopen(self.pipefd) + self.pipe = os.fdopen(self.pipefd, encoding="utf-8", errors="replace") self.proc = subprocess.Popen(argv, stdout=writefd, stderr=writefd) self.loop.watch_file(self.pipefd, self.proc_write) |