Commit 020c7db1 authored by mathieui's avatar mathieui

Fix binary opening

parent 75efa4ea
......@@ -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)',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment