summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/logger.py b/poezio/logger.py
index 6ce9ef90..1ebd5cf4 100644
--- a/poezio/logger.py
+++ b/poezio/logger.py
@@ -150,7 +150,7 @@ class Logger(object):
self._check_and_create_log_dir(jid, open_fd=False)
try:
- fd = open(os.path.join(log_dir, jid), 'rb', encoding='utf-8')
+ fd = open(os.path.join(log_dir, jid), 'rb')
except FileNotFoundError:
log.info(
'Non-existing log file (%s)',