diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/channel_log.py | 2 |
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 |
