Logging takes format params as a separate arg (commands.py)

This commit is contained in:
jesopo 2019-01-30 19:39:03 +00:00
parent 5dda000c96
commit a2e23acc61

View file

@ -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: