diff options
| author | 2019-05-22 11:40:51 +0100 | |
|---|---|---|
| committer | 2019-05-22 11:56:05 +0100 | |
| commit | cf89e280197c0eb4faedeb8d4a32c0478acfa611 (patch) | |
| tree | 15ac52944301a72137adfc315217c6c05b64edaa /modules/line_handler/__init__.py | |
| parent | stdout.write on success for !disconnect (diff) | |
| signature | ||
Log calls need formatting arguments as a second arg
Diffstat (limited to 'modules/line_handler/__init__.py')
| -rw-r--r-- | modules/line_handler/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/line_handler/__init__.py b/modules/line_handler/__init__.py index ad0b01e3..43cdc4bf 100644 --- a/modules/line_handler/__init__.py +++ b/modules/line_handler/__init__.py @@ -53,8 +53,8 @@ class Module(ModuleManager.BaseModule): context = event["args"][2:-1] description = event["args"][-1] - self.log.warn("FAIL (%s %s) received: %s" % - (command, error_code, description)) + self.log.warn("FAIL (%s %s) received: %s", + [command, error_code, description]) self.events.on("received.fail").call(command=command, error_code=error_code, context=context, description=description) |
