aboutsummaryrefslogtreecommitdiff
path: root/modules/commands.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-30 19:39:03 +0000
committerGravatar jesopo2019-01-30 19:39:03 +0000
commita2e23acc61746ced2e5206addd8d467bdadb8383 (patch)
tree0827b1071e90df008d58e05a0f7828d02fd2df7d /modules/commands.py
parentAdd `make_event(..)` to EventHookContext (diff)
signature
Logging takes format params as a separate arg (commands.py)
Diffstat (limited to 'modules/commands.py')
-rw-r--r--modules/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands.py b/modules/commands.py
index 53feb2d4..88041791 100644
--- a/modules/commands.py
+++ b/modules/commands.py
@@ -223,8 +223,8 @@ class Module(ModuleManager.BaseModule):
stdout=stdout, stderr=stderr, command=command.lower(),
is_channel=is_channel)
- self.log.trace("calling command '%s': %s" % (command,
- new_event.kwargs))
+ self.log.trace("calling command '%s': %s",
+ [command, new_event.kwargs])
try:
hook.call(new_event)
except utils.EventError as e: