diff options
author | mathieui <mathieui@mathieui.net> | 2018-01-14 23:16:25 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-01-14 23:16:25 +0100 |
commit | 020c7db1ae21201e493b2b02bedc8e7855fa20da (patch) | |
tree | e43a13cdc1e4e4acf54cc142655040df4a1843bc | |
parent | 75efa4eaafc90b74bdf40b9b4098abe698581944 (diff) | |
download | poezio-020c7db1ae21201e493b2b02bedc8e7855fa20da.tar.gz poezio-020c7db1ae21201e493b2b02bedc8e7855fa20da.tar.bz2 poezio-020c7db1ae21201e493b2b02bedc8e7855fa20da.tar.xz poezio-020c7db1ae21201e493b2b02bedc8e7855fa20da.zip |
Fix binary opening
-rw-r--r-- | poezio/logger.py | 2 |
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)', |