diff options
| author | 2020-01-30 21:12:31 +0000 | |
|---|---|---|
| committer | 2020-01-30 21:20:56 +0000 | |
| commit | d0d5cc4d0866d44eed652221940035d855296253 (patch) | |
| tree | 1683eb3aaf56b457835fb0229379530a7013280d /modules/channel_log.py | |
| parent | replace "/" in channel logfile names with "," (diff) | |
| signature | ||
split utils.datetime out in to .parse and .format
Diffstat (limited to 'modules/channel_log.py')
| -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 5f57a439..98ce59a0 100644 --- a/modules/channel_log.py +++ b/modules/channel_log.py @@ -27,7 +27,7 @@ class Module(ModuleManager.BaseModule): def _log(self, server, channel, line): if self._enabled(server, channel): with open(self._file(str(server), str(channel)), "a") as log: - timestamp = utils.datetime.datetime_human( + timestamp = utils.datetime.format.datetime_human( datetime.datetime.now()) log.write("%s %s\n" % (timestamp, line)) |
