aboutsummaryrefslogtreecommitdiff
path: root/modules/channel_log.py
diff options
context:
space:
mode:
authorGravatar jesopo2020-02-24 15:24:39 +0000
committerGravatar jesopo2020-02-24 15:24:39 +0000
commit175c0a285c0eba508fd4b93b3d858e73985339e6 (patch)
tree783e22ccfe51c3bd92c1b53d741e683c13298545 /modules/channel_log.py
parentuse "latin-1" consitently (not "iso-8859-1") (diff)
signature
open possibly-utf8 files with forced utf8
Diffstat (limited to 'modules/channel_log.py')
-rw-r--r--modules/channel_log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/channel_log.py b/modules/channel_log.py
index 28de5e1c..d4b677c6 100644
--- a/modules/channel_log.py
+++ b/modules/channel_log.py
@@ -28,7 +28,7 @@ class Module(ModuleManager.BaseModule):
channel.__log_file.write("%s\n" % line)
def _write(self, channel, filename, key, line):
if not hasattr(channel, "__log_file"):
- channel.__log_file = open(filename, "a")
+ channel.__log_file = utils.io.open(filename, "a")
channel.__log_rsa = None
channel.__log_aes = None